← Back to team overview

duplicity-team team mailing list archive

[Question #267099]: Help! No backup chains found!

 

New question #267099 on Duplicity:
https://answers.launchpad.net/duplicity/+question/267099

Folks, 
need your help please.

OS info -> Linux me 3.13.0-52-generic #86-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 14.04 Trusty
duplicity --version  -> duplicity 0.6.23



Made a backup of files using duplicity with destination folder "/home/me/backup".  All ok. Tons of *gpg files in there.

Afterwards, burned all of those *gpg files (*manifest*, *difftar*, and *sigtar*) in two cds (half of the files in one cd, and the other half in the other cd). All ok. 

Then deleted lots of files in the machine.  

Now I was ready to restore. So I copied all of the files from cd1 and cd2 to destination folder "/home/me/hopeful"

Then ran: 

me$ duplicity restore file:///home/me/hopeful/ /home/me/my_restored_files/



BUUT, got this traceback: 


Local and Remote metadata are synchronized, no sync needed.
Last full backup date: none
GnuPG passphrase: 
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 1422, in do_backup
    restore(col_stats)
  File "/usr/bin/duplicity", line 697, in restore
    restore_get_patched_rop_iter(col_stats)):
  File "/usr/bin/duplicity", line 719, in restore_get_patched_rop_iter
    backup_chain = col_stats.get_backup_chain_at_time(time)
  File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 952, in get_backup_chain_at_time
    raise CollectionsError("No backup chains found")
CollectionsError: No backup chains found




So this is the -v9 dump: 

$duplicity -v9 restore file:///home/me/hopeful/ /home/me/my_restored_files/

Using archive dir: /home/me/.cache/duplicity/1ee30734.....5a

Using backup name: 1ee30734....a5a

Import of duplicity.backends.botobackend Succeeded
Import of duplicity.backends.ftpbackend Succeeded
Import of duplicity.backends.swiftbackend Succeeded
Import of duplicity.backends.localbackend Succeeded
Import of duplicity.backends.gdocsbackend Succeeded
Import of duplicity.backends.imapbackend Succeeded
Import of duplicity.backends.dpbxbackend Succeeded
Import of duplicity.backends.rsyncbackend Succeeded
Import of duplicity.backends.sshbackend Succeeded
Import of duplicity.backends.hsibackend Succeeded
Import of duplicity.backends.tahoebackend Succeeded
Import of duplicity.backends.u1backend Succeeded
Import of duplicity.backends.megabackend Succeeded
Import of duplicity.backends.webdavbackend Succeeded
Import of duplicity.backends.ftpsbackend Succeeded
Import of duplicity.backends.cfbackend Succeeded
Main action: restore

================================================================================
duplicity 0.6.23 (January 24, 2014)


/usr/bin/python 2.7.6 (default, Mar 22 2014, 22:59:56) 
[GCC 4.8.2]
================================================================================


Using temporary directory /tmp/duplicity-cyNYCR-tempdir
Registering (mkstemp) temporary file /tmp/duplicity-cyNYCR-tempdir/mkstemp-7EaV7Z-1
Temp has ......  available, backup will use approx ......

Local and Remote metadata are synchronized, no sync needed.
1 file exists on backend
2 files exist in cache
Extracting backup chains from list of files: [u'Doc']
File Doc is not part of a known set; creating new set
Ignoring file (rejected by backup set) 'Doc'
Last full backup date: none
Collection Status
-----------------
Connecting with backend: LocalBackend
Archive dir: /home/me/.cache/duplicity/1ee3073.....5a

Found 0 secondary backup chains.
No backup chains with active signatures found
No orphaned or incomplete backup sets found.
PASSPHRASE variable not set, asking user.
GnuPG passphrase: 
Releasing lockfile <lockfile.LinkFileLock instance at 0x7f58d6f1e9e8>
Removing still remembered temporary file /tmp/duplicity-cyNYCR-tempdir/mkstemp-7EaV7Z-1
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 1422, in do_backup
    restore(col_stats)
  File "/usr/bin/duplicity", line 697, in restore
    restore_get_patched_rop_iter(col_stats)):
  File "/usr/bin/duplicity", line 719, in restore_get_patched_rop_iter
    backup_chain = col_stats.get_backup_chain_at_time(time)
  File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 952, in get_backup_chain_at_time
    raise CollectionsError("No backup chains found")
CollectionsError: No backup chains found






What can I do? I have been looking into this for a couple of hours now and I can't find a solution! 

-- 
You received this question notification because you are a member of
duplicity-team, which is an answer contact for Duplicity.