Public bug reported:

Binary package hint: backupninja

I get these error messages in the logs when there is already some data there:
Jul 15 01:24:20 Debug: duplicity  --no-print-statistics --scp-command 'scp ' 
--ssh-command 'ssh ' --encrypt-key 83AF64BC --sig
n-key 83AF64BC --remove-older-than 60D --include '/home/lstewart/bin/**'  
--exclude '**' / scp://[EMAIL PROTECTED]/
/home/lstewart/backup/nuzetta
Jul 15 01:24:50 Debug: Traceback (most recent call last): File 
"/usr/bin/duplicity", line 373, in <module> if __name__ == "__m
ain__": main() File "/usr/bin/duplicity", line 362, in main 
check_last_manifest(col_stats) File "/usr/bin/duplicity", line 342
, in check_last_manifest last_backup_set.check_manifests() File 
"/usr/lib/python2.5/site-packages/duplicity/collections.py", l
ine 128, in check_manifests if local_manifest: remote_manifest = local_manifest 
UnboundLocalError: local variable 'local_manif
est' referenced before assignment

And this one when we are looking at the initial backup:
Jul 15 01:26:59 Debug: duplicity  --no-print-statistics --scp-command 'scp ' 
--ssh-command 'ssh ' --encrypt-key 83AF64BC --sign-key 83AF64BC 
--remove-older-than 60D --include '/home/lstewart/bin/**'  --exclude '**' / 
scp://[EMAIL PROTECTED]//home/lstewart/backup/nuzetta
Jul 15 01:27:12 Debug: No signatures found, switching to full backup. Traceback 
(most recent call last): File "/usr/bin/duplicity", line 373, in <module> 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.5/site-packages/duplicity/gpg.py", 
line 213, in GPGWriteFile try: data = block_iter.next(bytes_to_go).data File 
"/usr/lib/python2.5/site-packages/duplicity/diffdir.py", line 407, in next 
result = self.process(self.input_iter.next(), size) File 
"/usr/lib/python2.5/site-packages/duplicity/diffdir.py", line 277, in 
get_delta_iter_w_sig (new_path, sig_path, sigTarFile)) File 
"/usr/lib/python2.5/site-packages/duplicity/robust.py", line 31, in 
check_common_error try: return function(*args) File 
"/usr/lib/python2.5/site-packages/duplicity/diffdir.py", line 309, in 
get_delta_path_w_sig if not new_path.isreg(): sigTarFile.addfile(ti) File 
"/usr/lib/python2.5/site-packages/duplicity/tarfile.py", line 762, in addfile 
self.fileobj.write(full_headers) File 
"/usr/lib/python2.5/site-packages/duplicity/dup_temp.py", line 120, in write 
return self.fileobj.write(buf) File 
"/usr/lib/python2.5/site-packages/duplicity/gpg.py", line 103, in write def 
write(self, buf): return self.gpg_input.write(buf) IOError: [Errno 32] Broken 
pipe close failed: [Errno 32] Broken pipe 


I know what you're gonna say: its a duplicity problem. The problem with that is 
that duplicity works with the same arguments from the command line, and in a 
simple scheduled cron job (what I've fallen back to). Everyone knows duplicity 
is a little bit unstable, but I think that this is really some issue with the 
environment the duplicity command is being executed in or something.

** Affects: backupninja (Ubuntu)
     Importance: Undecided
         Status: New

-- 
duplicity jobs not working
https://bugs.launchpad.net/bugs/126417
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to