delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/11/16/15:24:22

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 <Matthias DOT Meyer AT gmx DOT li>
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
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: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019