[Bug 8456] improve --link-dest bahaviour
Henri Shustak
henri.shustak at gmail.com
Sun Sep 18 18:34:50 MDT 2011
> I'd like to use rsync as an efficient (== do not store the same file twice at
> the backup media) backup solution. The backup should be made into N remote
> directories (rotating each day) _without_ the need to delete the remote
> directory before.
This is essentially, what LBackup is doing. However, keep in mind that if the transfer is interrupted. The incomplete backup will be deleted and then it will be restarted only using the latest successful backup (with regards link-dest). LBackup will always backup to a clean (empty) backup destination directory called "Section.inprogress".
The LBackup project is open source. As such, you are free to have a look at the code to get an idea of what it is doing or even fork the project (github - makes this easy) for your specific requirements.
Also, keep in mind that if a file is not hard linked to save space and it has been updated then it will end up taking up additional space on the destination backup system.
I have not experimented with de-duplicating file systems. However, if you want to save on space then this may be an avenue to investigate as well with regards backups, regardless of wheather you use LBackup, a different wrapper, rsync directly or some other system.
I hope this helps.
-----------------------------------
This email is protected by LBackup
http://www.lbackup.org
More information about the rsync
mailing list