[plug] Rsync issues

Richard Henry r.henry at murdoch.edu.au
Fri Nov 29 10:09:13 WST 2002


Thanks Anthony and Colin, that's cleared it up perfectly. :)

Cheers,
Rich.

> -----Original Message-----
> From: Anthony J. Breeds-Taurima [mailto:tony at cantech.net.au] 
> Sent: Friday, 29 November 2002 9:56 AM
> To: 'plug at plug.linux.org.au'
> Subject: Re: [plug] Rsync issues
> 
> 
> On Fri, 29 Nov 2002, Richard Henry wrote:
> 
> > Hi all,
> > 
> > I wanted to make a weekly backup of one of my servers, so I 
> put in a 
> > new drive.  The original one is about 4.5 gigs, the new one 
> is 9.  I 
> > partitioned the new drive into 5 gigs (/backup) with the rest as 
> > /dump.  I basically wanted to use some sort of software 
> RAID to sync 
> > my main old drive to /backup every now and then, so if one of the 
> > drives dies I have an identical one I can pretty much boot 
> straight up 
> > into.
> > 
> > I've never used rsync before, but after a bit of a read of the man 
> > files and online docs I had a crack at it with the below 
> command and 
> > some weird things happened.  To start with, my /backup directory is 
> > substantially bigger than the heirarchy it was backing up, by about 
> > 0.5 gigs (I believe I have excluded any recursion that could have 
> > happened?).  Also, I get a weird error message at the end (partial 
> > transfer... ?).  Anyone have any experience with this kind 
> of thing, 
> > and can see where I might be stumbling? I'm running Debian 
> (testing), 
> > fully updated.  An explanation regarding those readlink 
> errors would 
> > be nice too! ;)
> 
> Add an --exclude /proc aswell.
> 
> Should fix all the readlink errors, (most of) the size 
> mismatch and the "partial transfer" all in one swoop.
> 
> You may want to add --links and --delete-after to the command line.
> 
> HTH
> 
> 
> Yours Tony
> 
>    Jan 22-25 2003           Linux.Conf.AU            
> http://linux.conf.au/
> 		  The Australian Linux 
> Technical Conference!
> 



More information about the plug mailing list