Re: /usr/bin/ssh not found when rsync is executed within rsnapshot

2014-02-14 Thread Chris Davies
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)

Re: /usr/bin/ssh not found when rsync is executed within rsnapshot

2014-02-11 Thread Lorenz
> 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 conf

Re: /usr/bin/ssh not found when rsync is executed within rsnapshot

2014-02-10 Thread Wayne Davison
On Mon, Feb 10, 2014 at 1:44 AM, Paul Slootman wrote: > 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 args -- it seems to

Re: /usr/bin/ssh not found when rsync is executed within rsnapshot

2014-02-10 Thread Paul Slootman
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 --rsync-path=/home/backupuser/rsync-wrap

/usr/bin/ssh not found when rsync is executed within rsnapshot

2014-02-09 Thread Lorenz
Hello, yesterday i posted this issue on snapshot-disc...@listsourceforge.net (subject: wondering why backup wont start), but after reading the FAQ and searching the bugzilla DB i thought it could help to post here as well. i have a problem. But let me first describe my setup. i followed this howt