I have a home server that I’m using and hosting files on it. I’m worried about it breaking and loosing access to the files. So what method do you use to backup everything?

  • GammaScorpii@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    TrueNAS zfs snapshots, and then a weekly Cron rsync to a servarica VPS with unlimited expanding storage.

    • ThetaDev@lemmy.fmhy.ml
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      If you use a VPS as a backup target, you can also format it with ZFS and use replication. Sending snapshots is faster than using file-level backup tool, especially with a lot of small files.

      • GammaScorpii@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Interesting, I have noticed it’s very slow with initial backups. So snapshot replication sends one large file? What if you want to recover individual files?

        • ThetaDev@lemmy.fmhy.ml
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          You can access ZFS snapshots from the hidden .zfs folder at the root dir of your volume. From there you can restore individual files.

          There is also a command line tool (httm) that lists all snapshotted versions of a files and allows you to restore them.

          If the snapshot you want to restore from is on a remote machine, you can either send it over or scp/rsync the files from the .zfs directory.