Displaying 2 results from an estimated 2 matches for "rsync_numtries".
2014 Feb 15
2
rsync filter rules ignored by rsnapshot
...rsync
cmd_ssh /usr/bin/ssh
cmd_logger /usr/bin/logger
retain daily 7
retain weekly 4
retain monthly 3
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
exclude "**no-backup**"
link_dest 0
rsync_numtries 1
backup backupuser at debx40:/home/lorenz/ home/lorenz/
backup backupuser at debx40:/etc/ etc/
backup backupuser at debx40:/root/ root/
rsnapshot -D -c /etc/rsnapshot-debx40.conf daily
works but e.g. /home/lorenz/testsource/no-backup/some-file
is also rsynced, despite it would match the exclu...
2014 Feb 10
2
/usr/bin/ssh not found when rsync is executed within rsnapshot
..._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/bin/rsync "$@";
in the /etc/sudoers there is a l...