On Fri, May 05, 2000 at 02:31:47PM -0500, linda hanigan wrote:
> Hi all
> Since they have to redo my drive. I figured I would do a cpio of all the
> directories except /proc my original backup I did as
> find / -print | cpio -oc > /dev/hdb4
> and it complained about trying to cpio /proc files. Not sure what it might
> do when trying to restore them.  If I do this and then
> use the Install to do a minimal installation boot,  set my zipdrive will
> I  be able to just
> cpio -icdmu < /dev/hdb4
> and have all my password, users, network etc resetup or do I need
> to redo all the configurations by hand. I really appreciate all the help.
> When I talked to the guys at the computer shop they said "See what a
> problem Linux is" I will be glad when we have some Linux friendly computer
> shops around here. For one thing I wouldn't have to support Microsoft by
> paying for windows when I am not even using it!

Pay no attention to the ostriches.

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).

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

-- 
Steve Borho                       Voice:  314-615-6349
Network Engineer
Celox Networking Inc

Fortune of the day:
The avoidance of taxes is the only intellectual pursuit that carries any
reward.
                -- John Maynard Keynes


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

Reply via email to