MemoryError occurs with large signature files.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
New
|
Undecided
|
Unassigned |
Bug Description
I just tried switching from using the SFTP backend to the WebDAV backend. But am unable to do so because the WebDAV backend crashes when trying to retrieve the signature file from my backup set.
=======
duplicity 0.6.09 (July 25, 2010)
Args: /usr/bin/duplicity -v5 --name XXXX_full --volsize 500 --exclude-
Linux XXXXXXXXXXX 2.6.26-2-xen-amd64 #1 SMP Thu Sep 16 16:32:15 UTC 2010 x86_64
/usr/bin/python 2.5.2 (r252:60911, Jan 24 2010, 17:44:40)
[GCC 4.3.2]
=======
Synchronizing remote metadata to local cache...
Deleting local /home/XXXXXX/
Deleting local /home/XXXX/
Copying duplicity-
Retrieving /duplicity/
Traceback (most recent call last):
File "/usr/bin/
with_
File "/usr/bin/
fn()
File "/usr/bin/
sync_archive()
File "/usr/bin/
copy_
File "/usr/bin/
fileobj = globals.
File "/usr/lib/
self.
File "/usr/lib/
target_
File "/usr/lib/
s = self._safe_
File "/usr/lib/
return ''.join(s)
MemoryError
If I read this correctly, then 'target_
My workaround for the moment will just have to be to return to the SFTP backend, which doesn't have this problem.
summary: |
- MemoryError occurs when using WebDAV backend on large files. + MemoryError occurs with large signature files. |
I'm getting issues with signature files getting too big for memory as well. I've had it happen on restores, and more recently during a full backup.
I've tried 2Gb of swapfile on a low spec 512MB machine and it still fails. My backups are 48Gb.