BackupPC-users

Re: [BackupPC-users] pre-xfer and post-xfer exec

2008-12-11 14:18:47
Subject: Re: [BackupPC-users] pre-xfer and post-xfer exec
From: Jean-Michel Beuken <jean-michel.beuken AT uclouvain DOT be>
To: Matthias.Meyer AT gmx DOT li
Date: Thu, 11 Dec 2008 20:15:48 +0100
Matthias,

thanks for the quick answer...

> I run pre-xfer successfully under Win XP but has no luck with Vista.
> Did you use XP or Vista?
>   

XP SP3

> Maybee "#! /bin/sh" is necessary in the first line of your
> "/bin/pre-exec.sh". 

Administrateur@TIKAL2 /etc
$ cat /bin/pre-exec.sh
#! /bin/sh
# Shell script for the pre-exec operaions
cmd /c "c:\cygwin\bin\pre-exec.cmd"
exit 0

> I've read that in one thread somewhere.
> Did your *-exec.sh have execution rights? Try "ls -alh /bin/*exec.sh"
>   

Administrateur@TIKAL2 /bin
$ ls -alh *exec.sh
-rwxr-x--- 1 Administrateur None  87 Dec 10 19:17 post-exec.sh
-rwxr-x--- 1 Administrateur Users 96 Dec 11 19:25 pre-exec.sh


but it doesn't work !

Have you remark the error message :

> Remote[1]: rsync error: requested action not supported (code 4) at
> /home/lapo/packaging/rsync-3.0.4-1/src/rsync-3.0.4/clientserver.c(840)
> [receiver=3.0.4]
> Read EOF: Connection reset by peer
> Tried again: got 0 bytes
> Done: 1 files, 197 bytes
> restore failed: Unable to read 4 bytes

I use the 3.0.4 version of rsync in cygwin...

a problem of protocol version between BackupPC and rsyncd/cygwin ?

the return code ?

regards,
jmb






------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>