Comment on I wrote a python script to backup my home directory
droolio@feddit.uk 2 weeks ago
Multiple backups may be kept.
Nice work, but if I may suggest - it lacks hardlink support, so’s quite wasteful in terms of disk space - the number of ‘tags’ (snapshots) will be extremely limited.
At least two robust solutions that use rsync+hardlinks already exist: rsnapshot.org and dirvish.org (both written in perl). There’s definitely room for backup tools that produce plain copies, instead of packed chunk data like restic and Duplicacy, and a python or even bash-based tool might be nice, so keep at it.
However, I liken backup software to encryption - extreme care must be taken when rolling and using your own. Whatever tool you use, test test test the backups. :)
waspentalive@lemmy.one 2 weeks ago
@droolio@feddit.uk I see what you’re asking. You’re wondering if, instead of storing a duplicate file in a backup set that already contains it, I could use a hardlink to point to the file already stored in another set.
I have a system where I create a backup set for each day of the week. When I do a backup for that day, I update the set, or if it’s out of date, I replace it entirely with a fresh backup image (After 7 backups to that set). But if the backup sets became inter-dependent, removing or updating one set could lead to problems with others that rely on files in that set.
Does that make sense? I am asking because I am not familiar with the utilities you mentioned and may be taking your post wrong.