Unable to restore after Ubuntu reinstall

Asked by Mauro Giacomazzi on 2018-03-13

I had Ubuntu 16.04 LTS 64bit that gave me problems. I did a backup of my Home into an external Hard Disk using the included Backup (deja-dup) included in the Ubuntu installation. Then I reinstalled Ubuntu 16.04 LTS (new version 16.04.2 amd64 bit) deleting entirely the previous install and now the OS works fine again.
When I tried to restore the previous Backup but the restore failed and gave me the following message:

Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1532, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1526, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1380, in main
    do_backup(action)
  File "/usr/bin/duplicity", line 1405, in do_backup
    globals.archive_dir).set_values()
  File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 721, in set_values
    backup_chains)
  File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 734, in set_matched_chain_pair
    sig_chains = sig_chains and self.get_sorted_chains(sig_chains)
  File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 951, in get_sorted_chains
    assert len(chain_list) == 2
AssertionError

I really need my data back and I'm almost desperate after one day of search into every possible source.
Thank you in advance.

Question information

Language:
English Edit question
Status:
Expired
For:
Déjà Dup Edit question
Assignee:
No assignee Edit question
Last query:
2018-03-13
Last reply:
2018-04-06
Vej (vej) said : #1

Hello!

Could you provide us with the following informations please (which might help us in identifying the problem):

1. The distribution of Linux you're using:
    lsb_release -d

2. The version of deja-dup and duplicity:
    (if on Ubuntu or Debian:)
    dpkg-query -W deja-dup duplicity

    (if on Fedora or other RPM-based systems:)
    rpm -q deja-dup duplicity

3. The file /tmp/deja-dup.gsettings after running the following line (you may want to scrub the file of any incriminating file names or details):
    gsettings list-recursively org.gnome.DejaDup > /tmp/deja-dup.gsettings

4. The file /tmp/deja-dup.log after running the appropriate line below and replicating the problem (you may want to scrub the log of any incriminating file names or details):

 * If you're having problems restoring:
    DEJA_DUP_DEBUG=1 deja-dup --restore | tail -n 1000 > /tmp/deja-dup.log

Best

Vej

Vej (vej) said : #2

I also want to point you to "When Everything Goes Wrong" in the Gnome Wiki, which contains a procedure for restoring data in case of bugs:

    https://wiki.gnome.org/Apps/DejaDup/Help/Restore/WorstCase

Launchpad Janitor (janitor) said : #3

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.