Skip to content

examples for incremental backup use case #9

Open

Description

@LordofFatality

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions