pre-exec fails in windows

Matthias Meyer Matthias.Meyer at gmx.li
Wed Nov 19 07:08:09 GMT 2008


Thanks!
Matthias

Am Montag 17 November 2008 schrieben Sie:
> 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 
> 
> Tev
> 
> > -----Original Message-----
> > From: rsync-bounces+tevfik=itefix.no at lists.samba.org 
> > [mailto:rsync-bounces+tevfik=itefix.no at lists.samba.org] On 
> > Behalf Of Matthias Meyer
> > Sent: 16. november 2008 20:16
> > To: rsync at lists.samba.org
> > Subject: pre-exec fails in windows
> > 
> > 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
> > --
> > Please use reply-all for most replies to avoid omitting the 
> > mailing list.
> > To unsubscribe or change options: 
> > https://lists.samba.org/mailman/listinfo/rsync
> > Before posting, read: 
> > http://www.catb.org/~esr/faqs/smart-questions.html
> > 
> 
> 



-- 
Don't Panic


More information about the rsync mailing list