rsync: Syntax error in args -> failed execution flagged as SUCCESS

backupninja -n -d

Debug: check_perms /etc/backup.d Debug: perms: drwxrwx--- Debug: gperm: rwx Debug: wperm: --- Debug: check_perms /etc/backup.d/10-local-home.rsync Debug: perms: -rw------- Debug: gperm: --- Debug: wperm: --- Info: >>>> starting action /etc/backup.d/10-local-home.rsync (because of --now) Debug: yes Info: Syncing home on //mnt/backup2//home//... Debug: nice -n 0 /usr/bin/rsync -av --delete --recursive /home/ //mnt/backup2//home// rsync: -av --delete --recursive: unknown option rsync error: syntax or usage error (code 1) at main.c(1443) [client=3.0.7] Info: <<<< finished action /etc/backup.d/10-local-home.rsync: SUCCESS Debug: send report to root Info: FINISHED: 1 actions run. 0 fatal. 0 error. 0 warning.

Two problems:

  • Mysterious syntax error (if I manually run the command, it works fine)
  • The command completely fails, yet backupninja treats it as a SUCCESS

I've attached the .rsync which causes this, maybe its a config issue?

I'm using whatever version of backupninja comes with debian squeeze. There appears to be no "backupninja --version" flag so I can't really tell.

(from redmine: created on 2011-12-16, closed on 2012-01-01)