duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Duplicity-talk] Restore breaks part-way with KeyError 131072


From: Simon Blandford
Subject: [Duplicity-talk] Restore breaks part-way with KeyError 131072
Date: Wed, 10 Dec 2008 13:37:11 +0000
User-agent: Thunderbird 2.0.0.18 (X11/20081120)

I am restoring a backup and, after restoring some of the files, I get

KeyError: 'GnuPG exited non-zero, with code 131072'

The last full backup was in July and weekly incremental backups have been taking place since. There is only one error reported in the log of duplicity output during the backups. This may not be relevant but I am pasting it at the end of the email.

The command I am using to restore is
duplicity restore --encrypt-key=123456 --gpg-options --homedir=/opt/s3backup/.gnupg --log-file=/mnt/duplicity.log --num-retries=5 --file-to-restore=var/www/html s3+http://my.bucked.name /mnt/html



The full trackback:

Traceback (most recent call last):
 File "/usr/bin/duplicity", line 553, in ?
   with_tempdir(main)
 File "/usr/bin/duplicity", line 547, in with_tempdir
   fn()
 File "/usr/bin/duplicity", line 510, in main
   restore(col_stats)
 File "/usr/bin/duplicity", line 285, in restore
   restore_get_patched_rop_iter(col_stats)):
File "/usr/lib64/python2.4/site-packages/duplicity/patchdir.py", line 460, in Write_ROPaths
   ITR(ropath.index, ropath)
File "/usr/lib64/python2.4/site-packages/duplicity/lazy.py", line 299, in __call__
   last_branch.fast_process, args)
File "/usr/lib64/python2.4/site-packages/duplicity/robust.py", line 42, in check_common_error
   if (not isinstance(exc, EnvironmentError) or
KeyError: 'GnuPG exited non-zero, with code 131072'





Error reported in backup log with next run after the error:

Starting backups :Fri Oct 17 12:08:04 BST 2008
S3 backup failure.
No extraneous files found, nothing deleted in cleanup.
Traceback (most recent call last):
 File "/usr/bin/duplicity", line 482, in ?
   with_tempdir(main)
 File "/usr/bin/duplicity", line 477, in with_tempdir
   fn()
 File "/usr/bin/duplicity", line 470, in main
   incremental_backup(sig_chain)
 File "/usr/bin/duplicity", line 203, in incremental_backup
   bytes_written = write_multivol("inc", tarblock_iter, globals.backend)
 File "/usr/bin/duplicity", line 102, in write_multivol
   globals.gpg_profile,globals.volsize)
File "/usr/lib64/python2.4/site-packages/duplicity/gpg.py", line 217, in GPGWriteFile
   file.write(data)
File "/usr/lib64/python2.4/site-packages/duplicity/gpg.py", line 125, in write
   return self.gpg_input.write(buf)
IOError: [Errno 32] Broken pipe
Completed attempted backup.Fri Oct 17 12:09:43 BST 2008


Starting backups :Fri Oct 24 12:08:02 BST 2008
S3 backup success.
No extraneous files found, nothing deleted in cleanup.
--------------[ Backup Statistics ]--------------
StartTime 1224846511.49 (Fri Oct 24 12:08:31 2008)
EndTime 1224847159.34 (Fri Oct 24 12:19:19 2008)
ElapsedTime 647.84 (10 minutes 47.84 seconds)
SourceFiles 12555
SourceFileSize 49332164205 (45.9 GB)
NewFiles 1176
NewFileSize 626547176 (598 MB)
DeletedFiles 1277
ChangedFiles 71
ChangedFileSize 6793186 (6.48 MB)
ChangedDeltaSize 0 (0 bytes)
DeltaEntries 2524
RawDeltaSize 13905289 (13.3 MB)
TotalDestinationSizeChange 584218759 (557 MB)
Errors 0
-------------------------------------------------





reply via email to

[Prev in Thread] Current Thread [Next in Thread]