[KLUG Members] Re: drive ghosting -- RedHat "bootnet" disk,
afio/cpio, etc...
Bruce Smith
members@kalamazoolinux.org
29 Jan 2002 11:27:36 -0500
> Er, tar ... yuck!
Not the stuff they put on roads, the Unix Tape ARchiver. :-)
> Especially if you compress.
I don't. (except for files on disk)
> > (cd /home; tar clpf - .) | (cd /mnt/backhome; tar xpf -)
> > (cd /; tar clpf - .) | (cd /mnt/backup; tar xpf -)
>
> I believe find|cpio using cpio's "pass thru" (-p) operation is
> faster. E.g.:
I believe find|cpio & tar both are limited by the speed of my disks.
> cd /srcfs
> find . -depth -mount -print | cpio -pmdv /dstfs
"If you haven't found at least five ways to do the same thing In Unix,
you haven't looked hard enough."
I use tar because I'm more familiar with it, and it does the same job.
I know people who use "cp -a" and claim it works fine too.
(at least it's not "dump". :)
--------------------------------------------
Bruce Smith bruce@armintl.com
System Administrator / Network Administrator
Armstrong International, Inc.
Three Rivers, Michigan 49093 USA
http://www.armstrong-intl.com/
--------------------------------------------