is it possible to restore a folder using duplicity and amazon s3?
I can restore the entire backup which is / to a folder but when I attempt to restore a folder like /etc/ to /tmp/etc/ it errors out.
Code:
Traceback (most recent call last):
File "/usr/bin/duplicity", line 482, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 477, in with_tempdir
fn()
File "/usr/bin/duplicity", line 441, in main
restore(col_stats)
File "/usr/bin/duplicity", line 223, in restore
restore_get_patched_rop_iter(col_stats)):
File "/usr/bin/duplicity", line 238, in restore_get_patched_rop_iter
backup_chain = col_stats.get_backup_chain_at_time(time)
File "/usr/lib/python2.5/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
I'm not using encryption at all just normal duplicity backup while testing things out.
Code:
duplicity --no-encryption s3+http://LINODE_BACKUP/etc/ /tmp/etc/