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. rsync + hardlink, only on file system backend or any ext4 even if remote?

rsync + hardlink, only on file system backend or any ext4 even if remote?

Scheduled Pinned Locked Moved Support
backupshardlinks
5 Posts 3 Posters 1.0k Views 3 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.
    • avatar1024A Offline
      avatar1024A Offline
      avatar1024
      wrote on last edited by girish
      #1

      Hello, just got a quick question.

      The Cloudron docs says that rsync will use hard links to save space only if using the filesystem backend so only if backups are saved on the local server. I was wondering if this is strictly true or whether it is possible to use hard link on a remote volume if the volume partition is ext4?

      nebulonN 1 Reply Last reply
      0
      • avatar1024A avatar1024

        Hello, just got a quick question.

        The Cloudron docs says that rsync will use hard links to save space only if using the filesystem backend so only if backups are saved on the local server. I was wondering if this is strictly true or whether it is possible to use hard link on a remote volume if the volume partition is ext4?

        nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        @avatar1024 if the filesystem is remote, then mostly it won't matter what filesystem it uses locally. For example a folder, used over sshfs or samba/cifs, might reside physically on an ext2 or zfs or anything.

        Generally most Linux filesystems support hardlinks though, but not all remote filesystems do. Samba/cifs does support hardlinks, however the server also has to have the support. So the answer is often not obvious.

        avatar1024A 1 Reply Last reply
        0
        • nebulonN nebulon

          @avatar1024 if the filesystem is remote, then mostly it won't matter what filesystem it uses locally. For example a folder, used over sshfs or samba/cifs, might reside physically on an ext2 or zfs or anything.

          Generally most Linux filesystems support hardlinks though, but not all remote filesystems do. Samba/cifs does support hardlinks, however the server also has to have the support. So the answer is often not obvious.

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

          @nebulon Thanks for your reply and sorry the question was confusing cause I talked about "volume partition".
          The Cloudron docs says that hard link will be used only with the filesystem back-end.
          So the question is, if we use another backend (sshfs, CIFS, etc.), and if the remote file system and server do support hard links, will hard links be used on the backup to save space on the remote drive, or will they not be used because of not using the filesystem backend?

          nebulonN 1 Reply Last reply
          0
          • avatar1024A avatar1024

            @nebulon Thanks for your reply and sorry the question was confusing cause I talked about "volume partition".
            The Cloudron docs says that hard link will be used only with the filesystem back-end.
            So the question is, if we use another backend (sshfs, CIFS, etc.), and if the remote file system and server do support hard links, will hard links be used on the backup to save space on the remote drive, or will they not be used because of not using the filesystem backend?

            nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #4

            @avatar1024 you can see which backend supports it by virtue of having the hardlink checkbox in the backup configuration dialog available. Looks like the docs are a bit vague there.

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

              I have clarified the text a bit more now.

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