howto use rsyncs pre-xfer command?
Matthias Meyer
Matthias.Meyer@gmx.li
Wed Nov 19 10:14:00 GMT 2008
Am Sonntag 16 November 2008 schrieb Matthias Meyer:
> Hi,
>
> I want to disable windows suspend before starting backup by rsync.
> My rsyncd.conf:
> -----------------
> Â max connections = 6
> Â log file = /var/log/backup-service.log
> Â read only = false
> Â write only = false
> Â transfer logging = no
> Â list = false
> Â max verbosity = 6
> Â pre-xfer exec = powercfg /H off
>
> [C]
> Â path = /cygdrive/c/
> [D]
> Â path = /cygdrive/d/
> -----------------
>
> Unfortunately that didn't work. I get an error:
> pre-xfer exec returned failure (256)
> rsync error: requested action not supported (code 4)
>
> I use rsync V3.0.4 from cygwin in Windows clients and backuppc on server
> side.
>
> Thanks for any hint
> Matthias
> --
> Don't Panic
>
> --
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Problem reports: http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
>
Have a look at a relevant cwrsync FAQ - How can I make pre-exec and
post-exec work ?
http://www.itefix.no/i2/node/11306
--
Don't Panic
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list