by kayson · 2y ago · 0 comments
After evaluating these and others mentioned in the comments, I ended up using borg with borgmatic to define homelab backups with yaml files that are version controlled in gitea and deployed using ansible.
I also use duplicity to back up my sister in laws storefront website to backblaze. I've been quite happy with both.
i.e multiple files/sources to be backed up to one destination/sink in one go. Not one by one in different snapshots.
Restic on the other hand is slow, but never crashed on me and is distributed as a single binary.
The only thing I dislike about restic is that it does not have a simple config file where you define your backup settings. Instead I had to write my own backup.sh that I deploy everywhere on my personal and production machines. Paired with rsync.net for storage and healthchecks.io for notifications.
For installation, I set up a dedicated virtualenv for borg and borgmatic installation then symlink into /usr/local/bin. This is also automated with ansible and has worked on every distro and version I've used. The latest version does require python 3.9.0, but that's already 4 years old.
Restic has no unencrypted mode for reasons - you must use an empty password and additional flag instead. If your backups will already be encrypted in other ways you'll still pay encryption overhead.
Will this https://github.com/garethgeorge/backrest/discussions/188 work for you?
Also, I can add directory file to include exclude directly to this config or to separate files as I please and just refer in this config.
https://restic.readthedocs.io/en/stable/040_backup.html#envi...
These threads about backup tools come up regularly, and I always wonder if I’m missing something important about the other tools.
I'm pushing it all to a Hetzner storage box, as well as a local NAS. Super affordable!
Also backing up to a Hetzner storagebox, so it’s quite cheap too.