** Description changed: - I'm trying to restore a large directory. Twice now, the restore has - failed at the same point about a third of the way through. Here's the - error: + When restoring a backup, one might see an error like: Invalid data - SHA1 hash mismatch: Calculated hash: 0b2bc4c2fb98b36f9891f9172f909d70ab5662e9 Manifest hash: 11cd330357618de52e4e5361a6e63b09ee951ae2 - Is there a way to resolve this via a command line duplicity call? That - would be helpful. I know that this backup completed. Could it have - something to do with the backup failing part way through and then - continuing the same backup? + This can happen when a volume file was not completely written to the + backend before duplicity was interrupted (say, shutting down the machine + or whatever). When duplicity resumes the backup next run, it will start + with the next volume. The half-complete volume file will sit on the + backend and cause this error later when restoring. - deja-dup 11.1-0ubuntu0karmic1 - duplicity 0.6.06-0ubuntu0karmic1 + You can manually recover from this by either restoring from your older + backup sets or by restoring individual files that don't happen to be in + the corrupted volume. - Ubuntu 9.10 + == To Reproduce == + + See attachment + https://bugs.launchpad.net/ubuntu/+source/duplicity/+bug/487720/+attachment/2159465/+files/test.sh + for a test script tor reproduce the problem. + + == Ubuntu SRU Justification == + + This is a serious data loss problem for users, which won't be noticed + until they try to restore. With Ubuntu 11.10 including Deja Dup, some + users may think to back up their data first then upgrade, and may + accidentally create corrupted backups.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/487720 Title: Restore fails with "Invalid data - SHA1 hash mismatch" To manage notifications about this bug go to: https://bugs.launchpad.net/deja-dup/+bug/487720/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs