On Tue, 2010-11-23 at 15:51 +0100, Sven Joachim wrote: > On 2010-11-23 14:44 +0100, Xavier Bestel wrote: > > Is there an easy way to debug it ? > > You could set BM_LOGGER_LEVEL to "debug", maybe that helps. There is > also an undocumented "-d|--debug" option for backup-manager. Otherwise, > insert a "set -x" at the beginning of /usr/bin/backup-manager and you > will be overwhelmed by its verbosity. ;-)
-d doesn't say much, apart from printing the useless logfiles: [r...@awak:~]$ LANG=C backup-manager -v -d When validating the configuration file /etc/backup-manager.conf, 1 warnings were found. /bin/tar: Removing leading `/' from member names /mnt/backup/awak-boot.20101123.tar.gz: ok (0M, cce53a1524d08bbb94b340b8bec82075) /bin/tar: Removing leading `//' from member names /usr/share/backup-manager/backup-methods.sh: line 605: 32181 Segmentation fault $command $file_to_create "$target" > $logfile 2>&1 Unable to create "/mnt/backup/awak.20101123.tar.gz", check /tmp/bm-tarball.log.0kNKAd /bin/tar: Removing leading `/' from member names /bin/tar: /home/xav/.bogofilter/wordlist.db: file changed as we read it Tar reported a file changed during archive creation. /mnt/backup/awak-home.20101123.tar.gz: ok (387M, 9423aead90d47fcbe8416ffce6e868dc) Unable to find the md5 hash of file "/mnt/backup/awak-home.20101101.master.tar.gz" in file "/mnt/backup/awak-20101101.md5". Unable to find the md5 hash of file "/mnt/backup/awak-home.20101102.tar.gz" in file "/mnt/backup/awak-20101102.md5". 1 error occurred during the tarball generation. sh -x, of course works (thanks for the hint). I've got my command: /bin/tar --listed-incremental /mnt/backup/awak.incremental.bin --one-file-system -p -c -z -f /mnt/backup/awak.20101123.tar.gz but it's not that easy to parse :) Maybe that part: "$command $file_to_create "$target" > $logfile" should be expanded before being printed ? I'll send a bugreport for tar. Thanks, Xav -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org