www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/11/19/02:10:39

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: 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
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: <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

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/

- Raw text -


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