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: howto use rsyncs pre-xfer command? Date: Sun, 16 Nov 2008 21:23:20 +0100 User-Agent: KMail/1.9.9 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200811162123.20536.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 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/