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. Discuss
  3. How to setup Hetzner Storage Box using SSHFS

How to setup Hetzner Storage Box using SSHFS

Scheduled Pinned Locked Moved Discuss
7 Posts 4 Posters 1.1k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic was forked from Cloudron 8 Released joseph
    This topic has been deleted. Only users with topic management privileges can see it.
    • imc67I imc67

      Update:
      This is really a huge improvement, I manually updated the last Cloudron to 8.0.3 and then 8.0.4. Reconfigured backups to Storagebox/rsync/sshfs.

      Diskusage is 260GB of which Nextcloud is 175GB and email 27GB altogether 25 apps:

      • Previous cifs/tgz backup took approximately 3 hours
      • First backup with sshfs/rsync took 1 hour and 40 minutes!
      • Second backup right after the first took 4 MINUTES!!

      It’s a miracle and hard to believe it’s true after years of waiting for faster backups.

      jdaviescoatesJ Offline
      jdaviescoatesJ Offline
      jdaviescoates
      wrote on last edited by jdaviescoates
      #1

      @imc67 said in Cloudron 8 Released:

      Reconfigured backups to Storagebox/rsync/sshfs.

      I just tried to do this too but I get:

      Failed to mount (inactive): read: Connection reset by peer

      I'm not sure what I'm missing 🤷

      People who are backing up to a Hetzner Storage Box using SSHFS - how did you get it set-up? Thanks!

      @avatar1024: you've mentioned previously that you've had issues restoring from SSHFS - is that still the case?

      I'm looking to switch because my cifs/tgz backup that used to take approximately 2-3 hours seems to now regularly takes 4-6 hours (no idea why!)

      I use Cloudron with Gandi & Hetzner

      avatar1024A 1 Reply Last reply
      1
      • J Offline
        J Offline
        joseph
        Staff
        wrote on last edited by
        #2

        I made this a separate post. I know SSHFS is notoriously hard to set up in Hetzner. Did you see the earlier https://forum.cloudron.io/topic/5920/cannot-mount-hetzner-storage-box-for-backups-using-sshfs already?

        1 Reply Last reply
        1
        • J Offline
          J Offline
          joseph
          Staff
          wrote on last edited by
          #3

          Upstream docs are https://docs.hetzner.com/robot/storage-box/backup-space-ssh-keys/

          1 Reply Last reply
          1
          • imc67I Offline
            imc67I Offline
            imc67
            translator
            wrote on last edited by
            #4

            I use it on 3 Cloudrons, didn't tested a restore.

            • The url provided by @Joseph (https://docs.hetzner.com/robot/storage-box/backup-space-ssh-keys) is what I used to create keys.
            • Be sure to use the "main" storage (no sub according to @nebulon this works best).
            • In Configure Backup Storage make sure 'remote directory' is /home
            • Port: 23
            • Use hard links
            • Use Rsync

            Enjoy the speed!

            1 Reply Last reply
            1
            • jdaviescoatesJ Offline
              jdaviescoatesJ Offline
              jdaviescoates
              wrote on last edited by
              #5

              Thanks both, will give it another go at some point...

              I use Cloudron with Gandi & Hetzner

              1 Reply Last reply
              0
              • jdaviescoatesJ jdaviescoates

                @imc67 said in Cloudron 8 Released:

                Reconfigured backups to Storagebox/rsync/sshfs.

                I just tried to do this too but I get:

                Failed to mount (inactive): read: Connection reset by peer

                I'm not sure what I'm missing 🤷

                People who are backing up to a Hetzner Storage Box using SSHFS - how did you get it set-up? Thanks!

                @avatar1024: you've mentioned previously that you've had issues restoring from SSHFS - is that still the case?

                I'm looking to switch because my cifs/tgz backup that used to take approximately 2-3 hours seems to now regularly takes 4-6 hours (no idea why!)

                avatar1024A Offline
                avatar1024A Offline
                avatar1024
                wrote on last edited by
                #6

                @jdaviescoates said in How to setup Hetzner Storage Box using SSHFS:

                @avatar1024: you've mentioned previously that you've had issues restoring from SSHFS - is that still the case?

                I've had no more issue restoring using sshfs. I had issues (getting the same error message as you) when using specific ssh key pairs. rsa keys have been more reliable than Ed25519 keys, and do not protect your key with a password. Then it should work like a charm. See my post here: https://forum.cloudron.io/post/86213

                jdaviescoatesJ 1 Reply Last reply
                2
                • avatar1024A avatar1024

                  @jdaviescoates said in How to setup Hetzner Storage Box using SSHFS:

                  @avatar1024: you've mentioned previously that you've had issues restoring from SSHFS - is that still the case?

                  I've had no more issue restoring using sshfs. I had issues (getting the same error message as you) when using specific ssh key pairs. rsa keys have been more reliable than Ed25519 keys, and do not protect your key with a password. Then it should work like a charm. See my post here: https://forum.cloudron.io/post/86213

                  jdaviescoatesJ Offline
                  jdaviescoatesJ Offline
                  jdaviescoates
                  wrote on last edited by
                  #7

                  @avatar1024 said in How to setup Hetzner Storage Box using SSHFS:

                  I've had no more issue restoring using sshfs

                  Good to know, thanks!

                  I use Cloudron with Gandi & Hetzner

                  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