delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/11/29/13:18:56

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Matthias Meyer <Matthias DOT Meyer AT gmx DOT li>
Subject: pre-xfer exec works in XP but not in Vista
Date: Sat, 29 Nov 2008 19:17:44 +0100
Lines: 44
Message-ID: <ggs10b$d8$1@ger.gmane.org>
Reply-To: Matthias DOT Meyer AT gmx DOT li
Mime-Version: 1.0
User-Agent: KNode/0.10.9
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 try to use exact the same procedures within XP and Vista.
Linux-Server with backuppc, Windows-Clients with cygwin and rsyncd V3.0.4
over OpenSSH V5.1p1 for backup.
This will work with XP but unfortunately not with Vista (Home Basic) :-(

In Vista I get the following error from rsyncd:
pre-xfer exec returned failure (65280)
rsync error: requested action not supported (code 4)

and Vista pops up a small windows with the message:
sh.exe would be finished and closed.
The application is not any longer running correctly due to a problem.
(sorry, thats my translation from german into english ;-)

But "sh /etc/Backup/pre-exec.sh" from an vista cmd box works correct.

Excerpt from 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
 address = 127.0.0.1
 pre-xfer exec = /etc/Backup/pre-exec.sh
 post-xfer exec = /etc/Backup/post-exec.sh
[C]
 path = /cygdrive/c/
-----------------

My pre-exec.sh:
-----------------
/bin/ManageSuspend.exe OFF
exit 0
-----------------

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