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. Hetzner Nextcloud for Backup storage?

Hetzner Nextcloud for Backup storage?

Scheduled Pinned Locked Moved Discuss
webdavbackups
7 Posts 4 Posters 1.3k 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.
  • N Offline
    N Offline
    Neluser
    wrote on last edited by girish
    #1

    Hi all.
    I saw that this has already been discussed on the forum. But still interesting is the possibility of implementation.
    I have a 1TB nextcloud. I would like to use it as a storage for backups. Is it possible to mount a folder on the cloudron server to transfer files using the web dav protocol?
    My attempts to execute the instructions from the Nextcloud documentation consistently end up with the error mount: /root/nextcloud: can't find in /etc/fstab.
    Has anyone already tried doing this?
    I would like to get your advice.

    BrutalBirdieB G 2 Replies Last reply
    0
    • N Neluser

      Hi all.
      I saw that this has already been discussed on the forum. But still interesting is the possibility of implementation.
      I have a 1TB nextcloud. I would like to use it as a storage for backups. Is it possible to mount a folder on the cloudron server to transfer files using the web dav protocol?
      My attempts to execute the instructions from the Nextcloud documentation consistently end up with the error mount: /root/nextcloud: can't find in /etc/fstab.
      Has anyone already tried doing this?
      I would like to get your advice.

      BrutalBirdieB Offline
      BrutalBirdieB Offline
      BrutalBirdie
      Partner
      wrote on last edited by
      #2

      @Neluser
      Oh god... knowing how crappy Nextcloud can be I would never relay on it for full server backups.
      I would simply advise not to to or try this. 😆

      Like my work? Consider donating a drink. Cheers!

      N 1 Reply Last reply
      1
      • BrutalBirdieB BrutalBirdie

        @Neluser
        Oh god... knowing how crappy Nextcloud can be I would never relay on it for full server backups.
        I would simply advise not to to or try this. 😆

        N Offline
        N Offline
        Neluser
        wrote on last edited by
        #3

        @BrutalBirdie I only want to store backups of applications there. Since I have server backup enabled on my hetzner. But due to the large size of the applications, I cannot afford to create them on the server.
        And I remembered that I have a lot of space on Nextcloud that can be used.

        1 Reply Last reply
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          AFAIK, there is "reliable" way to mount webdav based filesystem. I think there is davfs2 via fuse but those things always hit some issues because they are not real filesystems with user permissions. But I won't stop you from trying 🙂

          1 Reply Last reply
          0
          • N Neluser

            Hi all.
            I saw that this has already been discussed on the forum. But still interesting is the possibility of implementation.
            I have a 1TB nextcloud. I would like to use it as a storage for backups. Is it possible to mount a folder on the cloudron server to transfer files using the web dav protocol?
            My attempts to execute the instructions from the Nextcloud documentation consistently end up with the error mount: /root/nextcloud: can't find in /etc/fstab.
            Has anyone already tried doing this?
            I would like to get your advice.

            G Offline
            G Offline
            guyds
            wrote on last edited by
            #5

            @Neluser

            If you create the directory /mnt/mynextcloud and then put the following line in your /etc/fstab

            https://<fqdn-of-your-nextcloud>/remote.php/dav/files/<your-username>/ /mnt/mynextcloud davfs defaults,uid=1000,gid=100,_netdev,auto        0       0
            

            You should be able to store your backups in your nextcloud.
            Automatically after reboot or manually with this command:

            sudo mount /mnt/mynextcloud
            

            Note 1: you have to replace the values between <> with the correct values for your nextcloud instance and also make sure you use the correct uid and gid.

            Note 2: I won't recommend this for reliable backups as it can be really slow and, well, just unreliable.

            G 1 Reply Last reply
            1
            • G guyds

              @Neluser

              If you create the directory /mnt/mynextcloud and then put the following line in your /etc/fstab

              https://<fqdn-of-your-nextcloud>/remote.php/dav/files/<your-username>/ /mnt/mynextcloud davfs defaults,uid=1000,gid=100,_netdev,auto        0       0
              

              You should be able to store your backups in your nextcloud.
              Automatically after reboot or manually with this command:

              sudo mount /mnt/mynextcloud
              

              Note 1: you have to replace the values between <> with the correct values for your nextcloud instance and also make sure you use the correct uid and gid.

              Note 2: I won't recommend this for reliable backups as it can be really slow and, well, just unreliable.

              G Offline
              G Offline
              guyds
              wrote on last edited by
              #6

              Oh, and of course you first have to install davfs2.
              This can be done with the following command

              sudo apt install davfs2
              
              1 Reply Last reply
              1
              • N Offline
                N Offline
                Neluser
                wrote on last edited by
                #7

                I checked and got this result.
                Indeed, with large file sizes, I had problems with backup.
                (Archive size less than 3 GB was transferred to the nextcloud without problems. With a larger one, an error almost always occurred when copying or restoring.)
                Thanks for the advice. I was really interested to see the result.

                The topic can be considered closed.
                Thanks to all.

                1 Reply Last reply
                3
                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