Error trying to Restore from backup


#1

Did a fresh install new droplet and now I’m trying to restore backup…
copied old backup and secret_key to /tmp

export PASSPHRASE=$(cat secret_key.txt) && duplicity restore file:///encrypted /home/user-data/ --force

results:

Local and Remote metadata are synchronized, no sync needed.
Last full backup date: none
Traceback (most recent call last):
File “/usr/bin/duplicity”, line 1494, in
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

Is my backup hosed or am I doing something wrong… Maybe both?


#2

Where are your backed up files? You wrote you put them in /tmp but your command said they were in file:///encrypted. Did you have a /encrypyed folder? I think you got the path wrong.


#3

You are correct. Was an issue with the path. Thanks for the reply.