Hello,
Cygwin rsync doesn't work
when started under sshd, with or without backuppc involved.
It will transfer a few files and stall. I don't think anyone
has gotten this to work.
Thanks to the explanations found in
http://pigtail.net/LRP/printsrv/cygwin-sshd.html
the backup of a PC under window XP works well with cygwin (rsync
(client) + sshd (service))
------------------------
in the PC under CYGWIN
[EMAIL PROTECTED] ~
$ uname -a
CYGWIN_NT-5.1 TIKAL 1.5.15(0.127/4/2) 2005-04-18 12:20 i686 unknown
unknown Cygwin
[EMAIL PROTECTED] ~
$ /usr/sbin/sshd.exe -v
sshd: unknown option -- v
OpenSSH_4.0p1, OpenSSL 0.9.7g 11 Apr 2005
usage: sshd [-46Ddeiqt] [-b bits] [-f config_file] [-g login_grace_time]
[-h host_key_file] [-k key_gen_time] [-o option] [-p port] [-u len]
[EMAIL PROTECTED] ~
$ rsync.exe --version
rsync version 2.6.3 protocol version 28
Copyright (C) 1996-2004 by Andrew Tridgell and others
<http://rsync.samba.org/>
Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles,
inplace, no IPv6, 64-bit system inums, 64-bit internal inums
-------------------------------
the relevant part of the config.pl
<snip>
$Conf{XferMethod} = 'rsync';
$Conf{FullPeriod} = 14;
$Conf{IncrPeriod} = 2;
$Conf{FullKeepCnt} = [1,0,1];
$Conf{RsyncShareName} = ['/cygdrive/c/Documents and
Settings/beuken/My Documents'];
$Conf{RsyncClientPath} = '/usr/bin/rsync';
#
$Conf{RsyncClientCmd} = '$sshPath -q -x -l beuken $host $rsyncPath $argList+';
$Conf{RsyncClientRestoreCmd} = '$sshPath -q -x -l beuken $host
$rsyncPath $argList+';
</snip>
and the last result in the LOG file :
2005-08-12 23:22:53 full backup started for directory
/cygdrive/c/Documents and Settings/beuken/My Documents
2005-08-12 23:32:54 full backup 22 complete, 181 files, 1198439073
bytes, 0 xferErrs (0 bad files, 0 bad shares, 0 other)
2005-08-12 23:32:54 removing full backup 11
regards
jmb
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/