duplicity-team team mailing list archive
-
duplicity-team team
-
Mailing list archive
-
Message #03227
Re: [Question #275294]: Can't restore backup: KeyError: 1
Question #275294 on Duplicity changed:
https://answers.launchpad.net/duplicity/+question/275294
Status: Open => Answered
edso proposed the following answer:
On 24.11.2015 20:47, igobyjames wrote:
> Here it is. If a file is missing - can we put a control in place to stop
> this from happening?
did you have a look yourself? afaics there are some full chains missing
volumes at the start (eg. full.20151112T080033Z has no vol1-318).
1. how did you list the backend files?
2. what is your backend?
fyi. 0.7.04 patched this issue
* Merged in lp:~raymii/duplicity/fix-swiftbackend-max-10000-files-in-list
- Swiftclient by default returns at max 10000 files. By adding
full_listing=True we make sure all objects are returned.
Ref: https://lists.nongnu.org/archive/html/duplicity-talk/2015-05/msg00060.html
and http://docs.openstack.org/developer/python-swiftclient/swiftclient.html#swiftclient.client.get_container
so it might be a backend bug.
wrt. prevention. verify your backups on a regular basis and you will
know they should work if push comes to shove. disadvantage is of course
that this strategy multiplies your amount of traffic.
..ede/duply.net
--
You received this question notification because your team duplicity-team
is an answer contact for Duplicity.