Problem with Deja Dub Data Recovery

Asked by Mitradeva

Trying to recover my backup ended with the following message:

failed with unknown mistake.

Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1494, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1488, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1337, in main
    do_backup(action)
  File "/usr/bin/duplicity", line 1370, in do_backup
    globals.archive_dir).set_values()
  File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 697, in set_values
    self.get_backup_chains(partials + backend_filename_list)
  File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 819, in get_backup_chains
    map(add_to_sets, filename_list)
  File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 809, in add_to_sets
    if set.add_filename(filename):
  File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 100, in add_filename
    (self.volume_name_dict, filename)
AssertionError: ({1: 'duplicity-inc.20140425T065204Z.to.20140501T174821Z.vol1.difftar.gz'}, 'duplicity-inc.20140425T065204Z.to.20140501T174821Z.vol1.difftar')

I have installed Ubuntu 10.04. Any idea how I can procede?

Thank you,
mitra

Question information

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

On 13.05.2014 23:02, Mitradeva wrote:
> New question #248646 on Duplicity:
> https://answers.launchpad.net/duplicity/+question/248646
>
> Trying to recover my backup ended with the following message:
>
> failed with unknown mistake.
>
> Traceback (most recent call last):
> File "/usr/bin/duplicity", line 1494, in <module>
> with_tempdir(main)
> File "/usr/bin/duplicity", line 1488, in with_tempdir
> fn()
> File "/usr/bin/duplicity", line 1337, in main
> do_backup(action)
> File "/usr/bin/duplicity", line 1370, in do_backup
> globals.archive_dir).set_values()
> File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 697, in set_values
> self.get_backup_chains(partials + backend_filename_list)
> File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 819, in get_backup_chains
> map(add_to_sets, filename_list)
> File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 809, in add_to_sets
> if set.add_filename(filename):
> File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 100, in add_filename
> (self.volume_name_dict, filename)
> AssertionError: ({1: 'duplicity-inc.20140425T065204Z.to.20140501T174821Z.vol1.difftar.gz'}, 'duplicity-inc.20140425T065204Z.to.20140501T174821Z.vol1.difftar')
>
>
> I have installed Ubuntu 10.04. Any idea how I can procede?
>

update to latest release 0.6.24. it should be more verbatim about the actual problem. ..ede/duply.net

Revision history for this message
Mitradeva (mihost) said :
#2

Dear edso,

Please accept my apologioes, what I have actually installed is Ubuntu
LTS 14.04. It was a typo to write 10.4.

So obviously it would not make sense to upgrade to 6.24..

Any other suggestions?

Thanks,
mitra

Am 15.05.2014 12:07, schrieb edso:
> Your question #248646 on Duplicity changed:
> https://answers.launchpad.net/duplicity/+question/248646
>
> Status: Open => Answered
>
> edso proposed the following answer:
> On 13.05.2014 23:02, Mitradeva wrote:
>> New question #248646 on Duplicity:
>> https://answers.launchpad.net/duplicity/+question/248646
>>
>> Trying to recover my backup ended with the following message:
>>
>> failed with unknown mistake.
>>
>> Traceback (most recent call last):
>> File "/usr/bin/duplicity", line 1494, in <module>
>> with_tempdir(main)
>> File "/usr/bin/duplicity", line 1488, in with_tempdir
>> fn()
>> File "/usr/bin/duplicity", line 1337, in main
>> do_backup(action)
>> File "/usr/bin/duplicity", line 1370, in do_backup
>> globals.archive_dir).set_values()
>> File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 697, in set_values
>> self.get_backup_chains(partials + backend_filename_list)
>> File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 819, in get_backup_chains
>> map(add_to_sets, filename_list)
>> File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 809, in add_to_sets
>> if set.add_filename(filename):
>> File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 100, in add_filename
>> (self.volume_name_dict, filename)
>> AssertionError: ({1: 'duplicity-inc.20140425T065204Z.to.20140501T174821Z.vol1.difftar.gz'}, 'duplicity-inc.20140425T065204Z.to.20140501T174821Z.vol1.difftar')
>>
>>
>> I have installed Ubuntu 10.04. Any idea how I can procede?
>>
> update to latest release 0.6.24. it should be more verbatim about the
> actual problem. ..ede/duply.net
>

Revision history for this message
edso (ed.so) said :
#3

what is you duplicity version? upgrade to 0.6.24 and run it again. ..ede

On 15.05.2014 13:26, Mitradeva wrote:
> Question #248646 on Duplicity changed:
> https://answers.launchpad.net/duplicity/+question/248646
>
> Status: Answered => Open
>
> Mitradeva is still having a problem:
> Dear edso,
>
> Please accept my apologioes, what I have actually installed is Ubuntu
> LTS 14.04. It was a typo to write 10.4.
>
> So obviously it would not make sense to upgrade to 6.24..
>
> Any other suggestions?
>
> Thanks,
> mitra
>
>
> Am 15.05.2014 12:07, schrieb edso:
>> Your question #248646 on Duplicity changed:
>> https://answers.launchpad.net/duplicity/+question/248646
>>
>> Status: Open => Answered
>>
>> edso proposed the following answer:
>> On 13.05.2014 23:02, Mitradeva wrote:
>>> New question #248646 on Duplicity:
>>> https://answers.launchpad.net/duplicity/+question/248646
>>>
>>> Trying to recover my backup ended with the following message:
>>>
>>> failed with unknown mistake.
>>>
>>> Traceback (most recent call last):
>>> File "/usr/bin/duplicity", line 1494, in <module>
>>> with_tempdir(main)
>>> File "/usr/bin/duplicity", line 1488, in with_tempdir
>>> fn()
>>> File "/usr/bin/duplicity", line 1337, in main
>>> do_backup(action)
>>> File "/usr/bin/duplicity", line 1370, in do_backup
>>> globals.archive_dir).set_values()
>>> File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 697, in set_values
>>> self.get_backup_chains(partials + backend_filename_list)
>>> File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 819, in get_backup_chains
>>> map(add_to_sets, filename_list)
>>> File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 809, in add_to_sets
>>> if set.add_filename(filename):
>>> File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 100, in add_filename
>>> (self.volume_name_dict, filename)
>>> AssertionError: ({1: 'duplicity-inc.20140425T065204Z.to.20140501T174821Z.vol1.difftar.gz'}, 'duplicity-inc.20140425T065204Z.to.20140501T174821Z.vol1.difftar')
>>>
>>>
>>> I have installed Ubuntu 10.04. Any idea how I can procede?
>>>
>> update to latest release 0.6.24. it should be more verbatim about the
>> actual problem. ..ede/duply.net
>>
>

Revision history for this message
Felix Griewald (tiiunder) said :
#4

I got the same problem. Since Ubuntu 14.04 it's not working anymore with the same message. Duplicity is the newest version.

Revision history for this message
edso (ed.so) said :
#5

same applies here.

there was a bug in duplicity 0.6.23 and before where backups got silently corrupted due to resuming. 0.6.24 fixes that and tells more details on the corrupted volume.

so please update to 0.6.24 and see that your backups are verified after every run!

..ede/duply.net

Revision history for this message
Felix Griewald (tiiunder) said :
#6

Hi edso,
maybe it's a hardware/network problem in my case.
But I have another question: How can I verify my backups?

Revision history for this message
edso (ed.so) said :
#7

On 01.06.2014 13:36, Felix Griewald wrote:
> Question #248646 on Duplicity changed:
> https://answers.launchpad.net/duplicity/+question/248646
>
> Felix Griewald proposed the following answer:
> Hi edso,
> maybe it's a hardware/network problem in my case.
> But I have another question: How can I verify my backups?
>

check the manpage
 http://duplicity.nongnu.org/duplicity.1.html

http://askubuntu.com/questions/99739/how-can-i-test-the-integrity-of-a-backup-made-with-backup-deja-dup
suggests that Deja Dup does that automatically. not sure though, don't use it.

..ede

Can you help with this problem?

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

To post a message you must log in.