I'm still running into problems with rsnapshot (1.3.1-4ubuntu0.1):

I have

    ssh_args    -p 22 -i /path/to/my/.ssh/id_rsa_rsnapshot

Then a backup entry like this

    backup      [email protected]:/etc/     srv1/
exclude_file=/path/to/rsnapshot_prv.exclude,+rsync_short_args=-z

leads to the error

   rsync: -a -z: unknown option
   rsync error: syntax or usage error (code 1) at main.c(1572) [client=3.1.0]
   ERROR: /usr/bin/rsync returned 1 while processing [email protected]:/etc/

The executed rsync command was

   /usr/bin/rsync -a -z --delete --numeric-ids --relative --delete-
excluded --exclude-from=/path/to/rsnapshot_prv.exclude
--rsh=/usr/bin/ssh -p 22 -i /path/to/my/.ssh/id_rsa_rsnapshot
[email protected]:/etc /backup/rsnapshot/.sync/srv1/

Without the "+rsync_short_args=-z", everything works fine.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1309710

Title:
  Backups broken when "ssh_args" are set

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsnapshot/+bug/1309710/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to