Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Cloudron Data Paths - Best Practices

Cloudron Data Paths - Best Practices

Scheduled Pinned Locked Moved Solved Support
storage
14 Posts 6 Posters 2.2k Views 6 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    michaelpope
    wrote on last edited by michaelpope
    #5

    Hey @crazybrad In my experience, it works (including backup), although it does create issues if for whatever reason the volume doesn't mount correctly on a server restart (happens occasionally).

    C 1 Reply Last reply
    0
    • bmannB Offline
      bmannB Offline
      bmann
      wrote on last edited by
      #6

      CIFS and NFS look like the only "remote" file systems. Are either of them performant? Are there any hosted options for those?

      I guess Volume storage that DO, Hetzner and others offer is the main use case aside from "local" Cloudron installs with local disk?

      M 1 Reply Last reply
      0
      • M michaelpope

        Hey @crazybrad In my experience, it works (including backup), although it does create issues if for whatever reason the volume doesn't mount correctly on a server restart (happens occasionally).

        C Offline
        C Offline
        crazybrad
        wrote on last edited by crazybrad
        #7

        @girish Thank you for clarifying. @michaelpope That's another reason why no one likes to restart their servers:) Appreciate the "heads-up".

        1 Reply Last reply
        1
        • bmannB bmann

          CIFS and NFS look like the only "remote" file systems. Are either of them performant? Are there any hosted options for those?

          I guess Volume storage that DO, Hetzner and others offer is the main use case aside from "local" Cloudron installs with local disk?

          M Offline
          M Offline
          michaelpope
          wrote on last edited by michaelpope
          #8

          @bmann CIFS, NFS, are both remote file systems, yeah. SSHFS is a remote file system built on SSH, so that technically counts too. But all of those have somewhat limited functionality.

          From what I've seen, most people who use the Mount backup are using it for where your VPS provider gives you a volume to work with. Sometimes they are technically remote too, on the backend, but they act like they are local (I know BUYVM's volumes are based on an RDMA which is basically like direct disk access over ethernet, which is kinda cool - Hetzner probably uses some other technology for their volumes).

          bmannB 1 Reply Last reply
          0
          • girishG girish marked this topic as a question on
          • girishG girish has marked this topic as solved on
          • chetbakerC Offline
            chetbakerC Offline
            chetbaker
            wrote on last edited by chetbaker
            #9

            As expected, volume-based disk storage is 6 times slower than local disk.

            Now that the topic is set as "best practices" (✌ ) I wonder if there's any nice practice some of you do for setting up external Volumes for data (not backups). I'm interested in this considering the size of my Nextcloud instance that gets this giant backup I don't necessarily need.

            1 Reply Last reply
            1
            • M michaelpope

              @bmann CIFS, NFS, are both remote file systems, yeah. SSHFS is a remote file system built on SSH, so that technically counts too. But all of those have somewhat limited functionality.

              From what I've seen, most people who use the Mount backup are using it for where your VPS provider gives you a volume to work with. Sometimes they are technically remote too, on the backend, but they act like they are local (I know BUYVM's volumes are based on an RDMA which is basically like direct disk access over ethernet, which is kinda cool - Hetzner probably uses some other technology for their volumes).

              bmannB Offline
              bmannB Offline
              bmann
              wrote on last edited by
              #10

              @michaelpope yeah I was skipping SSHFS as kind of being a temporary hack, whereas CIFS / NFS are designed as remote file systems (total assumption on my part).

              I'm thinking about this for scaling storage beyond one machine (not for backup). Nextcloud, Peertube, Pixelfed, and some of the photo management apps are ones that could really eat storage.

              jdaviescoatesJ M 2 Replies Last reply
              0
              • bmannB bmann

                @michaelpope yeah I was skipping SSHFS as kind of being a temporary hack, whereas CIFS / NFS are designed as remote file systems (total assumption on my part).

                I'm thinking about this for scaling storage beyond one machine (not for backup). Nextcloud, Peertube, Pixelfed, and some of the photo management apps are ones that could really eat storage.

                jdaviescoatesJ Online
                jdaviescoatesJ Online
                jdaviescoates
                wrote on last edited by
                #11

                @bmann said in Cloudron Data Paths - Best Practices:

                Peertube, Pixelfed

                For those (and Mastodon too) I'd strongly recommend connecting them to an S3 compatible object storage and storing everything there instead.

                I use Scaleway Object Storage buckets for that myself.

                I use Cloudron with Gandi & Hetzner

                bmannB 1 Reply Last reply
                0
                • jdaviescoatesJ jdaviescoates

                  @bmann said in Cloudron Data Paths - Best Practices:

                  Peertube, Pixelfed

                  For those (and Mastodon too) I'd strongly recommend connecting them to an S3 compatible object storage and storing everything there instead.

                  I use Scaleway Object Storage buckets for that myself.

                  bmannB Offline
                  bmannB Offline
                  bmann
                  wrote on last edited by
                  #12

                  @jdaviescoates OK, but that puts us into custom configuring those apps. Do those env config changes persist when they are Cloudron managed?

                  I see that being documented on the Mastodon on Cloudron page but it's not on the Peertube or Pixelfed pages.

                  Between app data, Volumes, and Backups, there are three places to put config around storage. I'd love to see those items be configurable at the Cloudron admin layer.

                  The wording doesn't totally match, but having Volumes actually be "Storage" or "Volumes and Backup" and having multiple configs there might be a useful evolution.

                  jdaviescoatesJ 1 Reply Last reply
                  1
                  • bmannB bmann

                    @jdaviescoates OK, but that puts us into custom configuring those apps. Do those env config changes persist when they are Cloudron managed?

                    I see that being documented on the Mastodon on Cloudron page but it's not on the Peertube or Pixelfed pages.

                    Between app data, Volumes, and Backups, there are three places to put config around storage. I'd love to see those items be configurable at the Cloudron admin layer.

                    The wording doesn't totally match, but having Volumes actually be "Storage" or "Volumes and Backup" and having multiple configs there might be a useful evolution.

                    jdaviescoatesJ Online
                    jdaviescoatesJ Online
                    jdaviescoates
                    wrote on last edited by
                    #13

                    @bmann said in Cloudron Data Paths - Best Practices:

                    @jdaviescoates OK, but that puts us into custom configuring those apps. Do those env config changes persist when they are Cloudron managed?

                    Yes. Seems to working fine.

                    @bmann said in Cloudron Data Paths - Best Practices:

                    I see that being documented on the Mastodon on Cloudron page but it's not on the Peertube or Pixelfed pages.

                    Yeah, could really do with lots more documentation on how to do it. It's mostly documented upstream, but it is way harder than one might expect and seems to require lots of trial and error. Doesn't help that it seems to be a bit different depending on which S3 provider you're using.

                    I use Cloudron with Gandi & Hetzner

                    1 Reply Last reply
                    0
                    • bmannB bmann

                      @michaelpope yeah I was skipping SSHFS as kind of being a temporary hack, whereas CIFS / NFS are designed as remote file systems (total assumption on my part).

                      I'm thinking about this for scaling storage beyond one machine (not for backup). Nextcloud, Peertube, Pixelfed, and some of the photo management apps are ones that could really eat storage.

                      M Offline
                      M Offline
                      michaelpope
                      wrote on last edited by michaelpope
                      #14

                      @bmann Yeah, in that case, I'd say just use a provider that allows you to buy extra storage inexpensively and mount it as a volume. BuyVM is the one that comes to mind honestly.

                      You can also use CIFS or NFS, but I don't know how well I'd trust them as primary storage for an app.

                      Also, as said, some apps support external S3 (although that limits your capability to fully encapsulate your backups).

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Bookmarks
                      • Search