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
  • Brite
  • 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. Discuss
  3. v9 Backups : multiple locations

v9 Backups : multiple locations

Scheduled Pinned Locked Moved Discuss
9 Posts 4 Posters 58 Views 4 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.
  • timconsidineT Offline
    timconsidineT Offline
    timconsidine
    App Dev
    wrote last edited by timconsidine
    #1

    Tentatively getting to grips with new features of v9, specifically multiple backup locations, which is a totally great new feature 👏

    1. is there a docs section specifically about multiple locations ?
      checked but didn't see anything - maybe still being added

    2. pre-v9, backups were a blocking process, no other operations like app installs could be done during a backup run. Is this still the case with v9?

    3. extending #2, presumably it's necessary to take care to ensure the schedules of each backup location are non-conflicting ? or v9 is so awesome that backups are separate processes which can run to 2 locations concurrently ?? (whoa)

    4. seeking clarification about docs on Hetzner Storage Box

    • CIFS :

    We recommend using SSHFS for Hetzner Storage Box since it is much faster and efficient storage wise compared to CIFS. When using Hetzner Storage Box with CIFS, the Remote Directory is /backup for the main account. For sub accounts, the Remote Directory is /subaccount.

    • SSHFS :

    When using Hetzner Storage Box, the Remote Directory is /home for the main account. We have found sub accounts to be unreliable with SSHFS. We recommend using CIFS instead if you want to use subaccounts.

    • net result is that advice is to use SSHFS for backups to main account and CIFS for sub accounts ?
      If so, I'd suggest the docs state that explicitly
    jamesJ 1 Reply Last reply
    2
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote last edited by
      #2
      1. There is no doc yet, hopefully the docs will get updated by the end of the year.

      2. Right, app backups don't block app operations anymore. App backups are now totally in background

      3. Concurrent backups are fine. Just have to make sure the locations don't conflict i.e storageprovider+target+prefix must not eventually be the exact same location. If you have different prefixes, that is fine too. It is also fine if schedules conflict.

      4. I think if SSHFS works, I would go with that. It is much faster since we have optimized code paths for it.

      timconsidineT 1 Reply Last reply
      3
      • timconsidineT timconsidine

        Tentatively getting to grips with new features of v9, specifically multiple backup locations, which is a totally great new feature 👏

        1. is there a docs section specifically about multiple locations ?
          checked but didn't see anything - maybe still being added

        2. pre-v9, backups were a blocking process, no other operations like app installs could be done during a backup run. Is this still the case with v9?

        3. extending #2, presumably it's necessary to take care to ensure the schedules of each backup location are non-conflicting ? or v9 is so awesome that backups are separate processes which can run to 2 locations concurrently ?? (whoa)

        4. seeking clarification about docs on Hetzner Storage Box

        • CIFS :

        We recommend using SSHFS for Hetzner Storage Box since it is much faster and efficient storage wise compared to CIFS. When using Hetzner Storage Box with CIFS, the Remote Directory is /backup for the main account. For sub accounts, the Remote Directory is /subaccount.

        • SSHFS :

        When using Hetzner Storage Box, the Remote Directory is /home for the main account. We have found sub accounts to be unreliable with SSHFS. We recommend using CIFS instead if you want to use subaccounts.

        • net result is that advice is to use SSHFS for backups to main account and CIFS for sub accounts ?
          If so, I'd suggest the docs state that explicitly
        jamesJ Offline
        jamesJ Offline
        james
        Staff
        wrote last edited by
        #3

        Hello @timconsidine

        @timconsidine said in v9 Backups : multiple locations:

        net result is that advice is to use SSHFS for backups to main account and CIFS for sub accounts ?
        If so, I'd suggest the docs state that explicitly

        I'd say SSHFS for Hetzner Storage Boxes for both main- and sub-accounts.
        But, let me get back to you on that after I did some research and validation.

        timconsidineT 2 Replies Last reply
        2
        • girishG girish
          1. There is no doc yet, hopefully the docs will get updated by the end of the year.

          2. Right, app backups don't block app operations anymore. App backups are now totally in background

          3. Concurrent backups are fine. Just have to make sure the locations don't conflict i.e storageprovider+target+prefix must not eventually be the exact same location. If you have different prefixes, that is fine too. It is also fine if schedules conflict.

          4. I think if SSHFS works, I would go with that. It is much faster since we have optimized code paths for it.

          timconsidineT Offline
          timconsidineT Offline
          timconsidine
          App Dev
          wrote last edited by
          #4

          @girish whoa, non-blocking AND concurrent backups !
          Congratulations, that is truly a huge leap forwards, thank you, thank you, thank you.

          No problems on the docs, just wanted to check.

          I have been happily using scaleway object storage, but separately I pay for a large Hetzner Storage Box, so my plan was to add Hetzner Storage Box as a 2nd location, run backups to both scaleway and Hetzner Storage Box for a while, maybe then remove scaleway from the loop to save some money.
          I wasn't completely sure this would be viable but it seems it is 🙏 🍾

          1 Reply Last reply
          2
          • jamesJ james

            Hello @timconsidine

            @timconsidine said in v9 Backups : multiple locations:

            net result is that advice is to use SSHFS for backups to main account and CIFS for sub accounts ?
            If so, I'd suggest the docs state that explicitly

            I'd say SSHFS for Hetzner Storage Boxes for both main- and sub-accounts.
            But, let me get back to you on that after I did some research and validation.

            timconsidineT Offline
            timconsidineT Offline
            timconsidine
            App Dev
            wrote last edited by
            #5

            @James thank you

            1 Reply Last reply
            0
            • jamesJ Offline
              jamesJ Offline
              james
              Staff
              wrote last edited by
              #6

              @timconsidine
              Okay, so SSHFS and Hetzner Storage Box Sub-Accounts work just fine.
              The issue here is the following.
              Storage Boxes have a concurrent connections limit of 10.
              So if you have e.g. 20 Sub-Accounts and all try to access the Storage Box at the same time 10 will not make it.
              But if you keep that in mind and spread out the connections over a timeframe you can use more than 10 Sub Accounts.

              timconsidineT 1 Reply Last reply
              2
              • jamesJ james

                Hello @timconsidine

                @timconsidine said in v9 Backups : multiple locations:

                net result is that advice is to use SSHFS for backups to main account and CIFS for sub accounts ?
                If so, I'd suggest the docs state that explicitly

                I'd say SSHFS for Hetzner Storage Boxes for both main- and sub-accounts.
                But, let me get back to you on that after I did some research and validation.

                timconsidineT Offline
                timconsidineT Offline
                timconsidine
                App Dev
                wrote last edited by
                #7

                @James set up SSHFS to Hetzner Storage Box for the main account
                Working !

                And seems a lot faster than to Scaleway Object Storage
                85Gb : 80 minutes to Scaleway, 60 mins to Hetzner (Cloudron VPS is Hetzner so same network?)

                1 Reply Last reply
                1
                • jamesJ james

                  @timconsidine
                  Okay, so SSHFS and Hetzner Storage Box Sub-Accounts work just fine.
                  The issue here is the following.
                  Storage Boxes have a concurrent connections limit of 10.
                  So if you have e.g. 20 Sub-Accounts and all try to access the Storage Box at the same time 10 will not make it.
                  But if you keep that in mind and spread out the connections over a timeframe you can use more than 10 Sub Accounts.

                  timconsidineT Offline
                  timconsidineT Offline
                  timconsidine
                  App Dev
                  wrote last edited by
                  #8

                  @James thank you - good info
                  I will think about using a sub-account

                  1 Reply Last reply
                  1
                  • nebulonN Offline
                    nebulonN Offline
                    nebulon
                    Staff
                    wrote last edited by nebulon
                    #9

                    @timconsidine make sure to check the "hardlink" option for the backup site. This drastically improves performance after the first full backup run since we have optimized that code to create the hardlinks remotely via ssh.

                    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