Displaying 1 result from an estimated 1 matches for "ssh_args".
Did you mean:
ss_args
2014 Feb 10
2
/usr/bin/ssh not found when rsync is executed within rsnapshot
.../bin/cp
cmd_rm /bin/rm
cmd_rsync /usr/bin/rsync
cmd_ssh /usr/bin/ssh
cmd_logger /usr/bin/logger
retain hourly 6
retain daily 7
retain weekly 4
verbose 5
loglevel 5
logfile /var/log/rsnapshot.log
lockfile /var/run/rsnapshot.pid
rsync_long_args -ev --rsync-path=/home/backupuser/rsync-wrapper.sh
ssh_args -i /home/backupuser/.ssh/id_rsa
link_dest 0
rsync_numtries 1
backup backupuser at debx40:/ debx40/
and this is the content of /home/backupuser/rsync-wrapper.sh on the remote debx40.
#!/bin/sh
date >> /home/backupuser/backuplog
echo $@ >> /home/backupuser/backuplog
/usr/bin/sudo /usr/...