On 10/02/14 05:38, Lorenz wrote:
i have a problem. But let me first describe my setup. [...rsnapshot
configuration...]
cmd_ssh/usr/bin/ssh
ssh_args-i /home/backupuser/.ssh/id_rsa
rsync: Failed to exec /usr/bin/ssh -i /home/backupuser/.ssh/id_rsa:
No such file or directory (2)
There are 2 easy solutions:
1. put what you need to run in a script and specify --rsh=/path/script.
2. put your ssh options into your ~/.ssh/config file, and stop specifying
--rsh. If you only want that key sometimes when going to that host, you
can specify a host alias in the config.
On Mon 10 Feb 2014, Lorenz wrote:
grep -v # /etc/rsnapshot | grep [a-z]
i.e. the /etc/rsnapshot minus the comments and the empty lines:
I'd recommend using 'grep .' to find non-empty lines... shorter and more
accurate :-)
rsync_long_args -ev
On Mon, Feb 10, 2014 at 1:44 AM, Paul Slootman paul+rs...@wurtel.netwrote:
Besides the extraneous -e option this should work.
No, the later --rsh option overrides the weird v string, so that's not
the issue. It appears to be that whatever compiled version of rsync he is
using doesn't allow