X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org X-Copfilter: Client is part of local network, skipped Spamassassin X-Copfilter: Sender is in whitelist, skipped SpamAssassin From: Matthias Meyer To: cygwin AT cygwin DOT com Subject: Re: howto use rsyncs pre-xfer command? Date: Wed, 19 Nov 2008 08:09:10 +0100 User-Agent: KMail/1.9.9 References: <200811162123 DOT 20536 DOT Matthias DOT Meyer AT gmx DOT li> In-Reply-To: <200811162123.20536.Matthias.Meyer@gmx.li> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200811190809.11086.Matthias.Meyer@gmx.li> X-Copfilter-Originating-IP: 192.168.0.92 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/