pre-exec fails in windows

Matthias Meyer Matthias.Meyer at
Sun Nov 16 19:15:42 GMT 2008


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

 path = /cygdrive/c/
 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 

Thanks for any hint
Don't Panic

More information about the rsync mailing list