Hi there,
I am working on a script and I am having some problems, the main is
that the restore is not working, I isolate the problem and I have
this:
I do a backup of /var/log with this:
duplicity /var/log s3+http://TEST_NOEX/_var_log
And then I am trying to restore with:
duplicity s3+http://TEST_NOEX/_var_log/exim4/ /restore_exim/
And I have this error:
Traceback (most recent call last):
File "/usr/local/bin/duplicity", line 463, in ?
with_tempdir(main)
File "/usr/local/bin/duplicity", line 458, in with_tempdir
fn()
File "/usr/local/bin/duplicity", line 428, in main
restore(col_stats)
File "/usr/local/bin/duplicity", line 206, in restore
restore_get_patched_rop_iter(col_stats)):
File "/usr/local/bin/duplicity", line 221, in
restore_get_patched_rop_iter
backup_chain = col_stats.get_backup_chain_at_time(time)
File "/usr/local/lib/python2.4/site-packages/duplicity/
collections.py", line 717, in get_backup_chain_at_time
raise CollectionsError("No backup chains found")
duplicity.collections.CollectionsError: No backup chains found
The backup is there because this restore works:
duplicity s3+http://TEST_NOEX/_var_log /restore_test/
ls /restore_test/exim4/
mainlog mainlog.1 mainlog.2.gz mainlog.3.gz mainlog.4.gz
mainlog.5.gz mainlog.6.gz mainlog.7.gz
Any idea? :S
Thanks in advice!
--
Rodrigo Fernandez (a.k.a. zordor)
http://www.rodrigofernandez.info/blog
http://www.frikis.net
http://www.zonafandom.com
address@hidden