This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: howto use rsyncs pre-xfer command?
- From: Matthias Meyer <Matthias dot Meyer at gmx dot li>
- To: cygwin at cygwin dot com
- Date: Wed, 19 Nov 2008 08:09:10 +0100
- Subject: Re: howto use rsyncs pre-xfer command?
- References: <200811162123.20536.Matthias.Meyer@gmx.li>
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/