restore failed (Invalid data - SHA1 hash mismatch)

Bug #826389 reported by Manolis Kapernaros
30
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Duplicity
New
Undecided
Unassigned
Déjà Dup
Incomplete
Undecided
Unassigned
deja-dup (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I was using deja-dup to backup my home automatically every day on an NFS folder with password encryption. Today I decided I had to format my HDD and reinstall ubuntu so I tried to restore my files with deja-dup. The restoring starts and I get back some of my files but suddenly it fails with this error:

Invalid data - SHA1 hash mismatch:
Calculated hash: 7d96fd9b424f777e795c40f29f0cc88c7d87ec3d
Manifest hash: a102c548ef930c7a928f9519dbc5ea5f59441ebb

I tried to restore earlier backups but I get the same error.

I have really important files in these backups.. I'd appreciate if someone can help me recover them. Thanks.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: deja-dup 18.1.1-0ubuntu1.1
ProcVersionSignature: Ubuntu 2.6.38-10.46-generic 2.6.38.7
Uname: Linux 2.6.38-10-generic i686
NonfreeKernelModules: nvidia wl
Architecture: i386
Date: Sun Aug 14 20:58:32 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
ProcEnviron:
 LANGUAGE=el_GR:en
 LANG=el_GR.UTF-8
 SHELL=/bin/bash
SourcePackage: deja-dup
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Manolis Kapernaros (kapcom01) wrote :
Revision history for this message
Michael Terry (mterry) wrote :

So you've hit bug 487720, which can't be fixed by using duplicity 0.6.14, as the problem is already in your backup data set. One or more of your backup volumes is corrupted.

There are two ways around this. You can try to restore from the backup from before the corrupted one. So try restoring from older backups.

You can also try to avoid the specific volume by restoring all the files from the backup set except the ones in the corrupted volume.

If you provide me with a list of all your backup files and their sizes, I could help determine which volume is broken. Either get me a log of the error like so:

DEJA_DUP_DEBUG=1 deja-dup > /tmp/deja-dup.log

Or a list of the backup files like so:

ls -l /path/to/backup/files > /tmp/deja-dup.listing

Changed in deja-dup:
status: New → Incomplete
Revision history for this message
Manolis Kapernaros (kapcom01) wrote :

Thank you very much. What I did was [duplicity --file-to-restore ....] and I restored the important files. I started a new backup on my fresh installed Ubuntu 11.04 with duplicity that comes with the repos.. Is it possible to happen again? Should I install 0.6.14?

Thanks again, I appreciate it.

Revision history for this message
Michael Terry (mterry) wrote :

Yes, install 0.6.14 from the duplicity PPA: https://launchpad.net/~duplicity-team/+archive/ppa

I'm going to prepare an update for 11.04 that will include the patch for this fix, since it's so nasty.

Revision history for this message
Manolis Kapernaros (kapcom01) wrote :

OK Thanks!

Michael Terry (mterry)
Changed in deja-dup (Ubuntu):
status: New → Invalid
Revision history for this message
Richard Vickery (richard-vickeryrv) wrote :

Hi Michael,

The DEJA_DUP-DEBUG didn't work for me. Is there anything, anything at all, that you can suggest? The files I need are rather crucial.

Thanks

Invalid data - SHA1 hash mismatch:
Calculated hash: da39a3ee5e6b4b0d3255bfef95601890afd80709
Manifest hash: b0a2b94bbd069f14f2c342c96f4ad580b1ba84fe

--
Richard

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.