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?
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?
TrueNAS zfs snapshots, and then a weekly Cron rsync to a servarica VPS with unlimited expanding storage.
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.
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?
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.