For versioning, just use snapshots in whatever filesystem you’re using (you are using a proper filesystem like ZFS or BTRFS, right?).
MangoPenguin@lemmy.blahaj.zone 5 weeks ago
Surely restic or borg would be better for backups?
Rsync can send files and not delete stuff, but there’s no versioning or retention settings.
sugar_in_your_tea@sh.itjust.works 5 weeks ago
MangoPenguin@lemmy.blahaj.zone 5 weeks ago
How does that get sent over rsync though? Wouldn’t you need snapshots on the remote destination server?
Why not just use a backup utility instead?
sugar_in_your_tea@sh.itjust.works 5 weeks ago
Yes, async copies files to the remote server, the remote server takes regular snapshots.
Why not just use a backup utility instead?
What is that utility providing that snapshots + rsync doesn’t. If rsync + snapshots is sufficient, why overcomplicate it with a backup utility?
MangoPenguin@lemmy.blahaj.zone 5 weeks ago
The main things that come to mind are you have to test/monitor 2 seperate actions instead of 1, and restores of single files could be more difficult since you need to login to the backup server, restore the file from a snapshot, then also copy that file back to your PC.
chronicledmonocle@lemmy.world 5 weeks ago
If you add --delete-before, it absolutely can delete stuff.
MangoPenguin@lemmy.blahaj.zone 5 weeks ago
Yeah but then it’s not really a good backup!
srjd7cpsmjvja3cyae@lemmy.ml 4 weeks ago
Duplicity also works really well for backups and you can encrypt them with your own openpgp key.
duplicity.gitlab.io