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 address hidden>:/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 address hidden>:/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 address hidden>:/etc /backup/rsnapshot/.sync/srv1/
Without the "+rsync_short_args=-z", everything works fine.
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 address hidden>:/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 address hidden>:/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 address hidden>:/etc /backup/ rsnapshot/ .sync/srv1/
Without the "+rsync_ short_args= -z", everything works fine.