B2 provider cannot handle two backups in the same bucket
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Fix Released
|
Medium
|
Unassigned |
Bug Description
# duplicity --version
duplicity 0.7.06
# python --version
Python 2.7.12
# OS
Ubuntu 16.04 LTS
# Target
B2 bucket, I intended to use the same bucket for different backup jobs
# Log
I've attached the log. Note that it detects a remote state, and tries to download it - but immediately fails with a 404. I've investigated quite a bit as to where it might get that remote state (since this is the first ever run), and I think I finally nailed it. The filename it's downloading is an exact match for another job I have (note the different "folders" in B2) - so I suspect that duplicity finds the first file that starts with duplicity and uses that, without checking the full filename. (Given I know that the B2 API doesn't see them as folders).
The current files on the B2 Bucket can be seen in this image, http://
Changed in duplicity: | |
importance: | Wishlist → Medium |
milestone: | none → 0.7.12 |
status: | New → In Progress |
Changed in duplicity: | |
status: | In Progress → Fix Committed |
Changed in duplicity: | |
status: | Fix Committed → Fix Released |
Sidenote: Buckets are cheap, so I can workaround it by creating a new bucket (duplicity does this for me) for each job I want.