Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Aug 2002 09:21:04 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        "Roger 'Rocky' Vetterberg" <listsub@401.cx>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: syncing local filesystems
Message-ID:  <20020816142104.GA74231@dan.emsphone.com>
In-Reply-To: <3D5CE948.6020604@401.cx>
References:  <3D5CE948.6020604@401.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Aug 16), Roger 'Rocky' Vetterberg said:
> I have a machine that stores some vital information. This machine has
> to be restored asap in case of a failure, so the usual solution with
> restoring from backup tapes is too slow to be usefull here. Right
> now, Im testing a machine that has 2 identical drives, ad0 and ad2.
> They are both mounted in sleds, so in case of a disk crash the disk
> can be replaced in seconds.
> 
> Since the changes in the filesystem are very small (I would estimate
> something like 5-15megs of new data and maybe 10 changed files
> between dumps) Ive been looking at utilities such as rsync and ssync.
> rsync seems to be mostly aimed at network replication, and ssync
> seems to be just fine if you want to sync directories, but not entire
> drives.

Even though rsync was originally a network-oriented tool, it does work
fine replicating a local disk to a local disk.  rsync -a --delete
should do the trick for you.

-- 
	Dan Nelson
	dnelson@allantgroup.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020816142104.GA74231>