[plug] Monitoring dd

Steege, Phil E phil.e.steege at lmco.com
Thu Sep 5 20:21:07 WST 2002


Does rsync create the directories it is copying or do I have to do that
initially?

I am using a script I took from a Rsync website.

#!/bin/sh

    export PATH=/usr/local/bin:/usr/bin:/bin

    LIST="usr var home"

    for d in $LIST; do
	mount /backups/$d
	rsync -ax --exclude fstab --delete /$d/ /backups/$d/
	umount /backups/$d
    done

I created a 40Gb partition on my 'backup' disk and mounted it as 'mount -t
ext3 /dev/hdd1 /backups'
I ran the script above and it complained about directories not being
mounted, however the data appears in my /backups directory.
Do I need to create /backups/usr /backups/var and /backups/home mount points
before running rsync ?



-----Original Message-----
From: William Kenworthy [mailto:billk at iinet.net.au] 
Sent: Wednesday, September 04, 2002 8:00 PM
To: Plug List
Subject: RE: [plug] Monitoring dd


Go for rsync - unison cant hack a lot of data (runs out of memory)  I rsync
a 9g laptop partition for backup, unison did the first copy, but fails after
that in tryng to find changes.  rsync is also orders of magnitude faster on
something like this.

BillK

On Wed, 2002-09-04 at 23:09, Craig Foster wrote:
> Try a local rsync or derivitives
> (http://freshmeat.net/search/?q=rsync&section=projects) or even 
> something like unison (http://www.cis.upenn.edu/~bcpierce/unison/). 
> Both do incremental copies and some error checking, with rsync 
> matching internal md5sums to make sure the copy is OK. They both will 
> also work over a network, with rsync having it's own permissions 
> system if you want :)
> 
> IMHO rsync is pretty much 'it' for large disk to disk backups where 
> accuracy rules



More information about the plug mailing list