** Changed in: duplicity
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to duplicity in Ubuntu.
https://bugs.launchpad.net/bugs/1876446
Title:
WebDAV backend creates only tiny or 0 Byte files
Status in Duplicity:
Fix Released
Status in duplicity package in Ubuntu:
Triaged
Bug description:
When using the WebDAV backend only tiny or 0-Byte files get created at
the WebDAV storage. Duplicity itself doesn't report any error, only
the uploaded file size is too small.
Duplicity version: 0.8.12.1596
Python version: 3.6.10
OS Distro and version: gentoo
Type of target filesystem: Linux, Windows, other.: WebDAV
############
I created a 10000000 Byte testfile. The uploaded file sizes are way too small:
...
WebDAV PUT
/remote.php/dav/files/myPath/test/duplicity-full.20200502T104649Z.vol1.difftar.gpg
...
WebDAV data length: 78
WebDAV response status 201 with reason 'Created'.
...
WebDAV PUT
/remote.php/dav/files/myPath/test/duplicity-full-signatures.20200502T104649Z.sigtar.gpg
...
WebDAV data length: 138
WebDAV response status 201 with reason 'Created'.
...
WebDAV PUT
/remote.php/dav/files/myPath/test/duplicity-full.20200502T104649Z.manifest.gpg
...
WebDAV data length: 129
WebDAV response status 201 with reason 'Created'.
...
Verification of this backup fails.
############
I made a small fix in duplicity/backends/webdavbackend.py (see
attachment)
############
Now everything works as expected:
...
WebDAV PUT
/remote.php/dav/files/myPath/test/duplicity-full.20200502T105219Z.vol1.difftar.gpg
...
WebDAV data length: 28794233
WebDAV response status 201 with reason 'Created'.
...
WebDAV PUT
/remote.php/dav/files/myPath/test/duplicity-full-signatures.20200502T105219Z.sigtar.gpg
...
WebDAV data length: 169724
WebDAV response status 201 with reason 'Created'.
...
WebDAV PUT
/remote.php/dav/files/myPath/test/duplicity-full.20200502T105219Z.manifest.gpg
...
WebDAV data length: 1332
WebDAV response status 201 with reason 'Created'.
...
Verification of this backup was successful.
############
To manage notifications about this bug go to:
https://bugs.launchpad.net/duplicity/+bug/1876446/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp