[patch] Dropbox backend: update to SDK v2, use chunked upload
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Hi,
I've just updated Dropbox backend, since it looks like outdated and have a lot of problems:
1. It doesn't work out of the box due to hardcoded SDK key. Replacing it requires editing of backend source file in /usr.
2. Hardcoded authentication file (~/.dropbox_
3. It doesn't work well with large files upload: tries to upload it without chunks. That's actually why I wasn't able to perform full backup (it was just impossible to upload signatures file).
4. Sometimes it produces broken backups on my machine due to dropbox 'autorename' feature. File uploaded as 'duplicity-
5. It uses deprecated v1 SDK.
I've tried to address all of these issues and updated backend code.
New code uses new SDKv2 and passes backendtest. It also uses chunked upload. So should support very large files.
Backend is tested on ~10GB backup. And I'm checking it right now for whole machine backup.
For now it's most likely RFC. Backend requires change of configuration due to different way to store authentication data. It seems that there is no way to gracefully migrate setups because old SDKv1 tokens are not compatbile with new OAuth2 way.
PS. Any suggestions what to do with old "duplicity-
Changed in duplicity: | |
importance: | Undecided → Medium |
milestone: | none → 0.7.07 |
status: | New → Fix Committed |
Changed in duplicity: | |
status: | Fix Committed → Fix Released |
Fixes followed bugs: /bugs.launchpad .net/duplicity/ +bug/1388600 /bugs.launchpad .net/duplicity/ +bug/1379736
https:/
https:/