search for: prexfer_test

Displaying 1 result from an estimated 1 matches for "prexfer_test".

2011 Sep 09
1
rsync over ssh with post-zfer
...path = /home/bs/backups/ben-desktop/current numeric ids = true log file = /home/bs/backups/ben-desktop/rsync.log list = true read only = false write only = false post-xfer exec = /home/bs/post-xfer $RSYNC_MODULE_PATH The file post-xfer file contains the following. #!/bin/sh env >> /var/log/prexfer_test.log exit 0 I've added the following to the sudoers file so that the rsync daemon runs as root and can preserve the file permissions. bs ALL= NOPASSWD:/usr/local/bin/rsync I use the following command from my client... rsync -avz --rsync-path="sudo rsync" -e ssh rsync_test bs at 192...