how to restore the duplicity software in ubuntu 16.4

Asked by Bent Jessen

When I use duplicity in a terminal I get some lines from duplicity returned as if the sofware stoped at different lines during execution:
I type:
duplicity list-current-files ftp://@----------.local/NetBackup > /home/....../list.txt

I get this returned:
  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 1461, in do_backup
    list_current(col_stats)
  File "/usr/bin/duplicity", line 696, in list_current
    sig_chain = col_stats.get_signature_chain_at_time(time)
  File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 994, in get_signature_chain_at_time
    raise CollectionsError("No signature chains found")
CollectionsError: No signature chains found

Is the software somehow broken and needs a restore or is there another explanation which requires another solution?

Question information

Language:
English Edit question
Status:
Expired
For:
Duplicity Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Vej (vej) said :
#1

Hello Bent Jessen.

This might be better answered by someone dealing with duplicity directly.

I will therefore change the "For" field of this question accordingly.

Best Regards

Vej

Revision history for this message
Launchpad Janitor (janitor) said :
#2

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

Revision history for this message
Aaron Whitehouse (aaron-whitehouse) said :
#3

Hello Bent Jessen,

Can you please test without the > /home/....../list.txt (just to keep things simple) and see if that does the same? Can you also please try to do a collection-status?

To rule out any issues with the ftp part, is it possible for you to copy the files locally and repeat the commands pointing to that local folder (file:///path)?

It sounds like you normally use deja dup. Did this give an error that made you try the terminal?

Revision history for this message
Bent Jessen (xpas2r) said :
#4

Hi, Aaron Whitehouse,

My backups are placed in the local network.

Normally I use deja dup. deja dup failed when I tried for the first time to restore part of my backup. I tried duplicity from terminal in order to see if I could find the specific files needed for a restore of a given day' s backup.

Is this comment of any help?

Revision history for this message
Aaron Whitehouse (aaron-whitehouse) said :
#5

Hello Bent,

Can you please test without the > /home/....../list.txt (just to keep things simple) and see if that does the same? Can you also please try to do a collection-status?

To rule out any issues with the ftp part, is it possible for you to copy the files locally and repeat the commands pointing to that local folder (file:///path)?

Revision history for this message
Bent Jessen (xpas2r) said :
#6

Hi,
once again I tried to execute the
duplicity list-current-files ftp://@----------.local/NetBackup > /home/....../list.txt

This time I got no error-lines(?) returned and my list-file said:

LFTP version is 4.6.3a
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: none

I guess this can be read as if the duplicity-files run ok
It does not mean that I got nearer a solution but from now on I have to study the duplicity-manual deeper.
Thankyou for your help and patience!
bj