How to mirror a harddisk for backup purpose

Felix Rauch rauch at inf.ethz.ch
Fri Jun 22 04:37:02 PDT 2001


On Fri, 22 Jun 2001, Kwan Wing Keung wrote:
> THANKS!!!  May I know what is your preferred mirror method?

We usually do it with dd or with our own tool dolly [1] over the
network (with the aforementioned drawbacks) and we didn't have any
problems so far.

If you want to be on the safe side, you could try tar, e.g. like this:
(cd /sourcedisk; tar -cvf - --atime-preserve --same-owner -p -l) \
| (cd /targetdisk; tar -xf - --atime-preserve --same-owner -p -l)

Note: I don't know if the same options are required for both tar
commands, but this approach works fine.

Hope that helps.

- Felix

[1] http://www.cs.inf.ethz.ch/CoPs/patagonia/
-- 
Felix Rauch                      | Email: rauch at inf.ethz.ch
Institute for Computer Systems   | Homepage: http://www.cs.inf.ethz.ch/~rauch/
ETH Zentrum / RZ H18             | Phone: ++41 1 632 7489
CH - 8092 Zuerich / Switzerland  | Fax:   ++41 1 632 1307





More information about the Beowulf mailing list