basak/ddar

examples for incremental backup use case

LordofFatality opened this issue · 0 comments

Hey,

I am looking for an alternative to rdiff-backup.
It is not clear to me how you would do incremental backups with ddar. All the examples I've found seem to create an archive from scratch. Also appending seems to just add a file to an archive. How do I achieve the versioning offered by incremental backups?

For example:
Back up your home directory to an external disk daily:
tar c ~ | gzip --rsyncable | ddar cf /mnt/external_disk/home_backup

This reads like it just creates an archive and overwrites it the next day? Can I append with "-N home-2015-08-07" today and "-N home-2015-08-08" tomorrow to get two backups as seperate members but only have the diff between today and tomorrow take up space?

Also will I loose all my incremental backups if the archive with all these backups gets corrupted? How does this compare to the behavior of rdiff-backup in case of file corruption? Seems risky to have it all in one archive. I guess Rdiff-backup would at least give you backups up until the corrupted diff. But I know too little about rdiff-backup to make an informed decision. Also how likely is file corruption?

Thanks for your time. ddar looks like a great tool.