BackupPC-users

Re: [BackupPC-users] Help: Backing up a WinXP-Client via Rsync (Cygwin)

2008-05-06 14:46:33
Subject: Re: [BackupPC-users] Help: Backing up a WinXP-Client via Rsync (Cygwin)
From: Rob Owens <rob.owens AT biochemfluidics DOT com>
Date: Tue, 06 May 2008 13:30:37 -0400
Kurt Jasper wrote:
> Hello,
> 
> I want to backup a Windows XP Client using BackupPC. Since the 
> Windows-Box is NOT running Windows XP Professional, I don't want to use 
> smb as backup method, because I can not set detailed user rights (only 
> possible when using win xp prof.)
> 
> So I thought I'll take the same approach for backing up the windows 
> client that I used for backing up my linux server:
> 
> 1) I've installed cygwin on the client including openssh, rsync
> 2) I've created a password secured root user on the windows client
Can you point me to a how-to for #1 and #2?  I've seen a bunch on the 
internet and they're all different (and didn't work when I tried them).
> 3) The BackupPC-User on the server can login into the Windows-Root-User 
> without a password since I exhanged the public-keys
> 4) The windows-client can be found using nmblookup WIN-CLIENT-NAME and 
> also reverse nmblookup -a CLIENT-IP
> 5) The configuration file on the backuppc-server contains:
> 
> $Conf{FullPeriod} = 6.97;
> $Conf{IncrPeriod} = 0.97;
> $Conf{FullKeepCnt} = 2;
> $Conf{IncrKeepCnt} = 6;
> $Conf{XferMethod} = 'rsync';
> $Conf{RsyncShareName} = '/';
> $Conf{BackupFilesOnly} = undef;
> $Conf{BackupFilesExclude} = ['/cygdrive','/proc','/tmp'];
> $Conf{XferLogLevel} = 1;
> $Conf{CompressLevel} = 3;
> 
> Problem: If I start the backup with the above configuration it takes 
> forever ... the client seems to work, but no data seems to be 
> tarnsferred. I though that the above configuration should just backup my 
> c:\cygwin-directory on the client (leaving out /proc and /tmp).
> Even after 40 minutes of heavy work (fan running at full speed) and even 
> if the cygwin-directoy has only 300 MB no data is transferred to the 
> backup client.
> 
> If I change    $Conf{RsyncShareName} = '/';
> to                $Conf{RsyncShareName} = '/home';
> 
> the backup is working without a problem (just backing up the cygwin-home 
> directories of course).
> 
> Any idea what is going wrong?
> I really would like to see a client config-file from you, if you're 
> using the same setup Cygwin+Rsync or what kind of setup you are using to 
> backup a win-xp to backuppc (without using samba).
> 
My guess is that your excludes are not working, though I can't see why 
based on your configuration.  Try excluding something when using 
$Conf{RsyncShareName} = '/home' to make sure that excludes are indeed 
working.

-Rob
********************************************************

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. If you are not the addressee, any disclosure, reproduction,
copying, distribution, or other dissemination or use of this transmission in
error please notify the sender immediately and then delete this e-mail.
E-mail transmission cannot be guaranteed to be secure or error free as
information could be intercepted, corrupted lost, destroyed, arrive late or
incomplete, or contain viruses.
The sender therefore does not accept liability for any errors or omissions
in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard copy
version.

********************************************************


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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/