1

On the server I'm making every day a backup with rdiff-backup like: rdiff-backup /home/ /backup/home

Then every week I want to make a rsync backup offside with sshfs like:

rsync -avz /home/server/backup/home /backup/server-home/

This is giving me the following errors:

Fatal Error: Previous backup to /backup/server-home/. seems to have failed.
Rerun rdiff-backup with --check-destination-dir option to revert directory to state    before unsuccessful session.

Does anybody have a good solution to deal with this errors/situation?

*2x edit for typo's

1
  • Can you confirm the error "Previous backup..." is actually from rdiff-backup, not rsync? – e2-e4 Mar 19 '13 at 5:39
0

Try using the "--delete" option: this causes rsync to delete files from the destination directory if they no longer exist in the source. Also, it's possible that "-H" is required (to preserve hard links)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.