Hi,

I read backup-pc document and forums for a while and I never manage to get
ssh+rync method working on a windows host. I've tried the last version of
copssh and cwrsync but also a fresh instal from cygwin any success.

But finally, I found my way to backup files from a windows host without
having a 'readeable' password in the config file (which is needed for
rsyncd or smb methods). I've setuped a sshd (copssh) on the windows host,
authorized root to login and add the backuppc public key into the
authorized_keys file. Then I've configured backup-pc to use the tar method

$Conf{XferMethod} = 'tar';
$Conf{tarPath} = '/bin/tar.exe';
$Conf{TarClientCmd} = '$sshPath -q -x -n -l root $host'
                    . ' $tarPath -c -v -f - -C $shareName+ --totals';
$Conf{TarClientRestoreCmd} = '$sshPath -q -x -l root $host'
                           . ' $tarPath -x -p --numeric-owner
--same-owner'
                           . ' -v -f - -C $shareName+';
$Conf{TarShareName} = ['/cygdrive/c/Documents and Settings'];

If someone would like to comment on it, I will apreciate

BR,

          Laurent
-- 
Dr. Laurent Mazet    -=-  /Use the source, Luke/  -=-   
[EMAIL PROTECTED]




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to