Package: backupninja Version: 0.9.5-2 Severity: important Debug: duplicity --no-print-statistics --scp-command 'scp ' --sftp-command 'sftp ' --encrypt-key B04C94A8 --sign-key B04C94A8 --remove-older-than 60D --exclude '/var/spool/postfix' --exclude '/var/cache' --include '/var' --include '/etc' --include '/usr/local' --include '/home/joey/.gnupg' --exclude '**' / scp://[EMAIL PROTECTED]//home/joey/lib/backup/kodama Debug: Command line error: option --remove-older-than not recognized Enter 'duplicity --help' for help screen. Fatal: Duplicity failed. Fatal: <<<< finished action /etc/backup.d/90.dup: FAILED
According to duplicity's changelog: New in v0.4.4.RC4 (2007/10/26) ------------------------------ WARNING: COMMAND LINE CHANGES ARE NOT BACKWARDS COMPATIBLE! There is a new command line syntax to separate actions and options. Refer to the new man page for full details of the change. The new syntax looks like: duplicity [full|incr] [options] source_dir target_url duplicity [restore] [options] source_url target_dir duplicity verify [options] source_url target_dir duplicity collection-status [options] target_url duplicity list-current-files [options] target_url duplicity cleanup [options] target_url duplicity remove-older-than time [options] target_url So I think it needs to run duplicity once with just the new remove-older-than subcommand, after (or before?) the main backup. I hacked backupninja to not pass the --remove-older-than switch, and it seems to be successfully backing up again. -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.23-1-686 (SMP w/1 CPU core) 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.1dfsg-8 The GNU Bourne Again SHell ii bsd-mailx [mailx] 8.1.2-0.20071201cvs-1 A simple mail user agent ii dialog 1.1-20071028-1 Displays user-friendly dialog boxe ii mailx 1:20071201-1 Transitional package for mailx ren ii mawk 1.3.3-11 a pattern scanning and text proces backupninja recommends no packages. -- no debconf information -- see shy jo