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?
My server is a DiskStation, so I use HyperBackup to do an encrypted backup of the important data to their Synology C2 service every night.
Backblaze on a B2 account. 0.005$ per gb. You pay for the storage you use. You pay for when you need to download your backup.
On my truenas server, it’s easy as pie to setup and easy as 🥧 to restore a backup when needed.
You guys back up your server?
It’s kind of broken at the moment, but I have set up duplicity to create encrypted backups to Bacblaze B2 buckets.
Of course the proper way would be to back up to at least 2 more locations. Perhaps a local NAS for starters. Also could be configured in duplicity.
I backup using a simple rsync script to a Hetzner storage box.
Zfs z2 pool . Not a perfect backup, but it covers disk failure (already lost one disk with no data loss), and accidental file deletion. I’m vulnerable to my house burning down, but overall I sleep well enough.
cronjobs with rsync to a Synology NAS and then to Synology’s cloud backup.
On hope
For config files, I use tarsnap. Each server has its own private key, and a
/etc/tarsnap.list
file which list the files/directories to backup on it. Then a cronjob runs every week to runtarsnap
on them. It’s very simple to backup and restore, as your backups are simply tar archives. The only caveat is that you cannot “browse” them without restoring them somewhere, but for config files it’s pretty quick and cheap.For actual data, I use a combination of rclone and dedup (because I was involved in the project at some point, but it’s similar to Borg). I sync it to backblaze because that’s the cheapest storage I could find. I use dedup to encrypt the backup before sending it to backblaze though. Restoration is very similar to tarsnap:
dup-unpack -k keyfile snapshot-yyyymmdd | tar -C / -x [files..] .
Most importantly, I keep a note on how to backup/restore: Backup 101