[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Disk mirroring



On Mon, May 14, 2001 at 01:37:26PM +0700, Oki DZ wrote:
> I'd like to mirror the harddisk of my running system to another disk.
> What is the best route to do it? What I have in mind is to mount the
> second disk under /mnt and then copy all the files into it. Can rsync do
> it? Of course, I'd like to do it periodically; every night at 11:59, for
> example.

have you considered doing a raid 1 mirror? if not you might want to check
out the software-raid-howto.

to copy a filesystem to another you can use cpio:
this will copy you entire rootpartition to /mnt:
find / -xdev | cpio -pm /mnt

yours martin
-- 
GnuPG 1024D/3E8DCCC0 30DC 1D28 1D79 32F5 5E67  3ABB 28EE B35A 3E8D CCC0
   work: factline Krisper Fabro Harnoncourt OEG (www.factline.com)



Reply to: