[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Duplicity-talk] MemoryError while backup
From: |
Kenneth Loafman |
Subject: |
Re: [Duplicity-talk] MemoryError while backup |
Date: |
Wed, 10 Dec 2008 13:09:11 -0600 |
User-agent: |
Thunderbird 2.0.0.18 (X11/20081125) |
Florian Lindner wrote:
> Hello,
>
> I've using duplicity from Debian Etch
> (http://packages.debian.org/etch/duplicity). While doing the backup
> there always occurs a MemoryError. Since I'm not so sure about the key
> settings I have also included a gpg --list-keys.
> It is a virtual server with 512MB guaranteed memory. The control panel
> does not show any ressource alert.
>
> Thanks,
>
> Florian
>
>
> osiris:~/bin# gpg --list-keys
> /root/.gnupg/pubring.gpg
> ------------------------
> pub 1024D/F5DCE406 2008-12-05 [expires: 2009-12-05]
> uid Florian Lindner <address@hidden>
> sub 2048g/77C9EF6C 2008-12-05 [expires: 2009-12-05]
>
> osiris:~/bin# duplicity --encrypt-key "F5DCE406" /home/
> scp://address@hidden/backup
> Warning, found incomplete backup sets, probably left from aborted session
> No signatures found, switching to full backup.
> tmpiTY6HB
>
> 100% 5147KB 2.5MB/s 00:02
> [...]
> tmpPiXbyv
>
> 100% 5136KB 2.5MB/s 00:02
> Traceback (most recent call last):
> File "/usr/bin/duplicity", line 373, in ?
> if __name__ == "__main__": main()
> File "/usr/bin/duplicity", line 366, in main
> if not sig_chain: full_backup(col_stats)
> File "/usr/bin/duplicity", line 142, in full_backup
> bytes_written = write_multivol("full", tarblock_iter, globals.backend)
> File "/usr/bin/duplicity", line 78, in write_multivol
> globals.gpg_profile)
> File "/usr/lib/python2.4/site-packages/duplicity/gpg.py", line 213, in
> GPGWriteFile
> try: data = block_iter.next(bytes_to_go).data
> File "/usr/lib/python2.4/site-packages/duplicity/diffdir.py", line
> 407, in next
> result = self.process(self.input_iter.next(), size)
> File "/usr/lib/python2.4/site-packages/duplicity/diffdir.py", line
> 487, in process
> data, last_block = self.get_data_block(fp, size - 512)
> File "/usr/lib/python2.4/site-packages/duplicity/diffdir.py", line
> 507, in get_data_block
> buf = fp.read(max_size)
> File "/usr/lib/python2.4/site-packages/duplicity/diffdir.py", line
> 338, in read
> buf = self.infile.read(length)
> MemoryError
You're doing it correctly with the GPG key.
Debian Etch is using a rather ancient version of duplicity, 0.4.10. The
latest version, 0.5.03, is available at http://www.nongnu.org/duplicity
and I would suggest you upgrade to that. There have been a lot of fixes
in the interim.
Also, it might be a good idea to run a 'duplicity cleanup' prior to
running since you have incomplete backup sets.
...Thanks,
...Ken
signature.asc
Description: OpenPGP digital signature