Unexpected Error @ Data Restore

Asked by neophyte

Using: Fedora 15 and Déjà Dup 18.2.1
Did backup on Fedora 14 and Déjà Dup encrypted backup.
Installed all new Fedora 15 on same machine. Named machine with Fedora 15 (formula007) different than before with Fedora 14 (localhost.localdomain).

Restoring Data from usb hdd gives below:

Traceback (most recent call last):

  File "/usr/bin/duplicity", line 1245, in <module>

    with_tempdir(main)

  File "/usr/bin/duplicity", line 1238, in with_tempdir

    fn()

  File "/usr/bin/duplicity", line 1192, in main

    restore(col_stats)

  File "/usr/bin/duplicity", line 539, in restore

    restore_get_patched_rop_iter(col_stats)):

  File "/usr/lib64/python2.7/site-packages/duplicity/patchdir.py", line 520, in Write_ROPaths

    for ropath in rop_iter:

  File "/usr/lib64/python2.7/site-packages/duplicity/patchdir.py", line 493, in integrate_patch_iters

    final_ropath = patch_seq2ropath( normalize_ps( patch_seq ) )

  File "/usr/lib64/python2.7/site-packages/duplicity/patchdir.py", line 460, in patch_seq2ropath

    assert first.difftype != "diff", patch_seq

AssertionError: [(('home', 'dfrster', '.ICEauthority') reg), (('home', 'dfrster', '.ICEauthority') reg), (('home', 'dfrster', '.ICEauthority') reg), (('home', 'dfrster', '.ICEauthority') reg), (('home', 'dfrster', '.ICEauthority') reg), (('home', 'dfrster', '.ICEauthority') reg)]

Can you please advise how data can be restored from usb hdd back to machine?

Question information

Language:
English Edit question
Status:
Open
For:
Déjà Dup Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Michael Terry (mterry) said :
#1

Looks like you're hitting duplicity bug 720525. The workaround in that bug is to specify the directory you want to restore specifically. So try this:

deja-dup --restore /home/dfrster

Does that help?

Revision history for this message
neophyte (dirk-foerster) said :
#2

No. Restoring fails.

Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1245, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1238, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1192, in main
    restore(col_stats)
  File "/usr/bin/duplicity", line 539, in restore
    restore_get_patched_rop_iter(col_stats)):
  File "/usr/lib64/python2.7/site-packages/duplicity/patchdir.py", line 520, in Write_ROPaths
    for ropath in rop_iter:
  File "/usr/lib64/python2.7/site-packages/duplicity/patchdir.py", line 493, in integrate_patch_iters
    final_ropath = patch_seq2ropath( normalize_ps( patch_seq ) )
  File "/usr/lib64/python2.7/site-packages/duplicity/patchdir.py", line 460, in patch_seq2ropath
    assert first.difftype != "diff", patch_seq
AssertionError: [(('.ICEauthority',) reg), (('.ICEauthority',) reg), (('.ICEauthority',) reg), (('.ICEauthority',) reg), (('.ICEauthority',) reg), (('.ICEauthority',) reg)]

$ deja-dup --restore /home/dfrster

(deja-dup:2957): GLib-GObject-WARNING **: g_object_set_valist: object class `AssistantRestore' has no property named `has-separator'
** (deja-dup:2957): DEBUG: DuplicityInstance.vala:203: Running the following duplicity (2965) command: duplicity 'collection-status' '--gio' 'file:///media/ba9bab6d-3e08-4898-98bd-7cc67baa4a18/Linux%20User/dejadup' '--verbosity=9' '--archive-dir=/home/dfrster/.cache/deja-dup' '--log-file=/tmp/deja-dup-OOCPZV'

** (deja-dup:2957): DEBUG: DuplicityInstance.vala:575: duplicity (2965) exited with value 0

** (deja-dup:2957): DEBUG: DuplicityInstance.vala:203: Running the following duplicity (2972) command: duplicity 'list-current-files' '--restore-time=2011-07-23T19:05:39Z' '--gio' 'file:///media/ba9bab6d-3e08-4898-98bd-7cc67baa4a18/Linux%20User/dejadup' '--verbosity=9' '--archive-dir=/home/dfrster/.cache/deja-dup' '--log-file=/tmp/deja-dup-YUNFZV'

** (deja-dup:2957): DEBUG: DuplicityInstance.vala:575: duplicity (2972) exited with value 0

** (deja-dup:2957): DEBUG: DuplicityInstance.vala:203: Running the following duplicity (2975) command: duplicity 'restore' '--restore-time=2011-07-23T19:05:39Z' '--file-to-restore=home/dfrster' '--gio' '--force' 'file:///media/ba9bab6d-3e08-4898-98bd-7cc67baa4a18/Linux%20User/dejadup' '/home/dfrster' '--verbosity=9' '--archive-dir=/home/dfrster/.cache/deja-dup' '--log-file=/tmp/deja-dup-IW9DZV'

Revision history for this message
neophyte (dirk-foerster) said :
#3

Can I ask, are we stuck here?
Can you only resolve this with the back-up files in hand which are failing to be restored?

Revision history for this message
Michael Terry (mterry) said :
#4

I can neither reproduce this nor, looking at the code, reason out why it's doing that. So until I can get a backup set that exhibits this, I can't do much. :-/ I'm sorry.

Revision history for this message
neophyte (dirk-foerster) said :
#5

I suggest you create a test folder and for a couple of days add files, change files and back them up encrypted on a daily basis. Then delete that test folder from you hdd and next day restore the last available date. Maybe If you have a chance add one step. Restore your test folder on a different machine.

For my part, last date's back up was restored. But it was incomplete because files were missing and changed files were not the last but a previous version. I wonder were the missing files went and why old versions were restored when there should have been newer ones with the last date's back-up.

Can you help with this problem?

Provide an answer of your own, or ask neophyte for more information if necessary.

To post a message you must log in.