Package: backupninja Version: 0.9.6-4 Severity: important hello,
from time to time we get various duplicity handler errors, and untill we completely clean all backup sets, specific scheduled job fails. i decided to fill a bug this time so maybe we can get this fixed. so, latest error (from backupninja log) : Dec 03 02:00:02 Debug: check_perms /etc/backup.d/73.backup.dup Dec 03 02:00:02 Debug: perms: -rw------- Dec 03 02:00:02 Debug: gperm: --- Dec 03 02:00:02 Debug: wperm: --- Dec 03 02:00:02 Info: >>>> starting action /etc/backup.d/73.backup.dup (because it is everyday at 2) Dec 03 02:00:02 Debug: yes Dec 03 02:00:02 Debug: Data will be encrypted with the GnuPG key x...@xxx.xxx. Dec 03 02:00:02 Debug: Data will be signed will the GnuPG key XXXXXXXX. Dec 03 02:00:02 Debug: duplicity cleanup --no-print-statistics --scp-command 'scp -oIdentityFile=/root/.ssh/id_rsa_key' --sftp-command 'sftp -oIdentityFi le=/root/.ssh/id_rsa_key' --encrypt-key x...@xxx.xxx --sign-key XXXXXXXX scp://u...@remote_host//backup_dir/backup/73 Dec 03 02:00:12 Debug: No extraneous files found, nothing deleted in cleanup. Dec 03 02:00:12 Info: Duplicity cleanup finished successfully. Dec 03 02:00:12 Debug: duplicity remove-older-than 30D --no-print-statistics --scp-command 'scp -oIdentityFile=/root/.ssh/id_rsa_key' --sftp-command 'sft p -oIdentityFile=/root/.ssh/id_rsa_key' --encrypt-key x...@xxx.xxx --sign-key XXXXXXXX scp://u...@remote_host//backup_dir/backup/73 Dec 03 02:00:21 Debug: There are backup set(s) at time(s): Wed Sep 22 02:00:07 2010 Thu Sep 23 02:00:10 2010 Fri Sep 24 02:00:10 2010 Sat Sep 25 02:00:10 2010 Sun Sep 26 02:00:51 2010 Mon Sep 27 02:00:11 2010 Wed Sep 29 02:00:11 2010 Thu Sep 30 02:00:10 2010 Fri Oct 1 02:00:11 2010 Sat Oct 2 02:00:11 2010 Sun Oct 3 02:05:24 2010 Mon Oct 4 02:00:11 2010 Tue Oct 5 02:00:11 2010 Wed Oct 6 02:00:11 2010 Thu Oct 7 02:00:10 2010 Fri Oct 8 02:00:11 2010 Sat Oct 9 02:00:11 2010 Sun Oct 10 02:00:53 2010 Mon Oct 11 02:00:13 2010 Tue Oct 12 02:00:11 2010 Wed Oct 13 02:00:12 2010 Thu Oct 14 02:00:12 2010 Fri Oct 15 02:00:11 2010 Sat Oct 16 02:00:12 2010 Sun Oct 17 02:00:52 2010 Mon Oct 18 02:00:12 2010 Tue Oct 19 02:00:12 2010 Wed Oct 20 02:00:12 2010 Thu Oct 21 02:00:13 2010 Fri Oct 22 02:00:13 2010 Tue Oct 26 02:00:14 2010 Wed Oct 27 02:00:16 2010 Thu Oct 28 02:00:13 2010 Fri Oct 29 02:00:14 2010 Sat Oct 30 02:00:13 2010 Sun Oct 31 02:00:54 2010 Mon Nov 1 02:00:15 2010 Tue Nov 2 02:00:14 2010 Which can't be deleted because newer sets depend on them. No old backup sets found, nothing deleted. Dec 03 02:00:21 Info: Duplicity remove-older-than finished successfully. Dec 03 02:00:21 Debug: duplicity --no-print-statistics --scp-command 'scp -oIdentityFile=/root/.ssh/id_rsa_key' --sftp-command 'sftp -oIdentityFile=/root/.ssh/id_rsa_key' --encrypt-key x...@xxx.xxx --sign-key XXXXXXXX --exclude '/backup_local_dir/' --exclude '/backup_local_dir/squat.gr' --include '/var/backups/users/debian/var/espiv/thersitis.gr' --include '/backup_local_dir' --exclude '**' / scp://u...@remote_host//backup_dir/backup/73 Dec 03 02:08:27 Debug: Traceback (most recent call last): File "/usr/bin/duplicity", line 463, in <module> with_tempdir(main) File "/usr/bin/duplicity", line 458, in with_tempdir fn() File "/usr/bin/duplicity", line 451, in main incremental_backup(sig_chain) File "/usr/bin/duplicity", line 186, in incremental_backup bytes_written = write_multivol("inc", tarblock_iter, globals.backend) File "/usr/bin/duplicity", line 87, in write_multivol globals.gpg_profile,globals.volsize) File "/usr/lib/python2.5/site-packages/duplicity/gpg.py", line 213, in GPGWriteFile 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 763, in addfile assert len(full_headers) % BLOCKSIZE == 0 AssertionError Dec 03 02:08:27 Fatal: Duplicity failed. Dec 03 02:08:27 Fatal: <<<< finished action /etc/backup.d/73.backup.dup: FAILED Todays backup failed as well, because of incomplete sets probably : Dec 04 02:11:29 Debug: Warning, found incomplete backup sets, probably left from aborted session Traceback (most recent call last): File "/usr/bin/duplicity", line 463, in <module> with_tempdir(main) File "/usr/bin/duplicity", line 458, in with_tempdir fn() File "/usr/bin/duplicity", line 451, in main incremental_backup(sig_chain) File "/usr/bin/duplicity", line 186, in incremental_backup bytes_written = write_multivol("inc", tarblock_iter, globals.backend) File "/usr/bin/duplicity", line 87, in write_multivol globals.gpg_profile,globals.volsize) File "/usr/lib/python2.5/site-packages/duplicity/gpg.py", line 213, in GPGWriteFile 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 763, in addfile assert len(full_headers) % BLOCKSIZE == 0 AssertionError Dec 04 02:11:29 Fatal: Duplicity failed. Dec 04 02:11:29 Fatal: <<<< finished action /etc/backup.d/73.backup.dup: FAILED only solution i found so far, is to delete the whole backup set from remote host and rerun the backup job. thanks, dpdt1 -- System Information: Debian Release: 5.0.7 APT prefers stable APT policy: (700, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-2-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages backupninja depends on: ii bash 3.2-4 The GNU Bourne Again SHell ii bsd-mailx [mailx] 8.1.2-0.20071201cvs-3 A simple mail user agent ii dialog 1.1-20080316-1 Displays user-friendly dialog boxe ii gawk 1:3.1.5.dfsg-4.1 GNU awk, a pattern scanning and pr ii mailx 1:20071201-3 Transitional package for mailx ren ii mawk 1.3.3-11.1 a pattern scanning and text proces backupninja recommends no packages. Versions of packages backupninja suggests: pn cdrdao <none> (no description available) ii debconf-utils 1.5.24 debconf utilities ii dvd+rw-tools 7.1-3 DVD+-RW/R tools ii genisoimage 9:1.1.9-1 Creates ISO-9660 CD-ROM filesystem ii hwinfo 14.19-2 Hardware identification system ii mdadm 2.6.7.2-3 tool to administer Linux MD arrays ii rdiff-backup 1.2.5-1 remote incremental backup ii wodim 9:1.1.9-1 command line CD/DVD writing tool -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org