Package: backupninja Version: 1.0.1-1 Severity: important Dear Maintainer,
Backupninja fails to run a rsync action such as: [general] mountpoint = /tmp backupdir = test format = mirror [source] from = local include = /home numericids = 1 The output gives the following error: Info: >>>> starting action 10.test.rsync (because of --now) Debug: yes Debug: executing handler in locked section controlled by /var/lock/backupninja/10.test.rsync Info: Syncing /home on /tmp/test//home//... Debug: nice -n 0 /usr/bin/rsync -av --delete --recursive //home/ /tmp/test//home// su: unrecognized option '--delete' Usage: su [options] [LOGIN] Options: -c, --command COMMAND pass COMMAND to the invoked shell -h, --help display this help message and exit -, -l, --login make the shell a login shell -m, -p, --preserve-environment do not reset environment variables, and keep the same shell -s, --shell SHELL use SHELL instead of the default in passwd Fatal: Rsync error 2 when trying to transfer /home Fatal: <<<< finished action 10.test.rsync: FAILED Debug: send report to root Info: FINISHED: 1 actions run. 1 fatal. 0 error. 0 warning. Running backupninja through `bash -x` shows that the `--delete` option from the rsync command is not included in the single quote for the `su -c` command: nice -n 0 su -c '/usr/bin/rsync -av' --delete '--recursive --delete-excluded //home/ /tmp/test//home//' By the way, the command in the debugging output differs from what is being run by backupninja (it doesn't show the `su -c` part). -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages backupninja depends on: ii bash 4.2-4 ii bsd-mailx [mailx] 8.1.2-0.20111106cvs-1 ii dialog 1.1-20120215-2 ii gawk 1:4.0.1+dfsg-2 ii mawk 1.3.3-17 backupninja recommends no packages. Versions of packages backupninja suggests: ii bzip2 1.0.6-3 ii debconf-utils 1.5.44 pn duplicity <none> ii genisoimage 9:1.1.11-2 pn hwinfo <none> pn mdadm <none> ii rdiff-backup 1.2.8-7 ii rsync 3.0.9-3 pn subversion <none> pn trickle <none> ii wodim 9:1.1.11-2 -- Configuration Files: /etc/backupninja.conf changed: loglevel = 4 reportemail = root reportsuccess = yes reportinfo = no reportwarning = yes reportspace = no reporthost = reportuser = ninja reportdirectory = /var/lib/backupninja/reports admingroup = root logfile = /var/log/backupninja.log configdirectory = /etc/backup.d scriptdirectory = /usr/share/backupninja libdirectory = /usr/lib/backupninja usecolors = yes when = manual vservers = no -- 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