At 09:31 AM 5/5/00 , Steve Borho wrote:

>You shouldn't try to backup /proc since it is only an interface to the
>kernel, and not a real filesystem (you probably figured this out already).

Yes, in fact, given that you've mentioned reinstalling, I'm trying to think 
why you would backup more than /home and /etc.

>Otherwise, that command should work.  If you've got just one large root
>filesystem, you could use this command:
>
>find / -print -xdev | cpio -oc > /dev/hdb4
>
>To improve performance, you could compress the stream on the way to the
>zip disk...
>
>find / -print -xdev | cpio -oc | gzip > /dev/hdb4
>
>then to recover...
>
>gzip -dc /dev/hdb4 | cpio -icdmu

I would be cautious about zipping.  This compresses the whole stream, 
right?  So one bad byte and the rest of the stream is 
unrecoverable.  Unless you make 2-3 copies.  Which would be a great idea 
anyway.

Speaking of being paranoid, no one has mentioned comparing the backup to 
the original.  But I don't know the cpio syntax.   I usually pull out the 
System Administrator's Guide from the LDP and follow the syntax examples he 
provides.  But that's tar.

-Alan


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to