Full system backup fails at verification stage with an AssertionError: [(('README',) reg)

Asked by papukaija

Hi,

I'm trying to back up my home folder for the first time into Ubuntu One with Deja Dup. I initially got the "Could not restore ‘/home/username/.cache/deja-dup/metadata’: File not found in backup" error message (bug 1217959) during the backup. I deleted few files from my home directory before trying to run the backup process again. After that, the backup failed at (or just after) the verification stage with an unknown error:

Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1414, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1407, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1341, in main
    restore(col_stats)
  File "/usr/bin/duplicity", line 635, in restore
    restore_get_patched_rop_iter(col_stats)):
  File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line 526, in Write_ROPaths
    for ropath in rop_iter:
  File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line 499, in integrate_patch_iters
    final_ropath = patch_seq2ropath( normalize_ps( patch_seq ) )
  File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line 463, in patch_seq2ropath
    assert first.difftype != "diff", patch_seq
AssertionError: [(('README',) reg), (('README',) reg), (('README',) reg), (('README',) reg)]

I found bug 1252484 by googling the beginning of the error message but that bug was fixed in January. I interrupted the back up few times because the process took so long. There also was some interrutions from the lost of my internet connection.

I tried to run to backup again but I keep getting the unknown error above. My Ubuntu version is 13.10. My Ubuntu One storage space's usage is at 27%. The backup is encrypted with Deja Dup's pasword tool.

Could you please advice me how to solve this issue? Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Duplicity Edit question
Assignee:
No assignee Edit question
Solved by:
edso
Solved:
Last query:
Last reply:
Revision history for this message
Best edso (ed.so) said :
#1

please update to the latest duplicity. it should
- be more detailed in the error logging.
- has some fixes wrt. restarting the backup

seems like your backup chain is corrupted somewhere. try doing a completely new full.

ede/duply.net

Revision history for this message
papukaija (papukaija) said :
#2

Thanks for your reply. I updated Duplicity from its PPA and ran the back up again (without deleting the old one). This time the back up completed but it showed me an error message saying that my back up is indeed corrupted. I guess I'll perform a completely new full back up next week.

Revision history for this message
papukaija (papukaija) said :
#3

Thanks edso, that solved my question.