On Sunday 04 February 2001 18:16, you wrote:
> Hi,

> I want to back up everything on /, format it then
> restore.  I don't want to do an image copy however,

If you are using tar, and you don't (necessarily) want to back up /home /usr 
etc., since they are on other partitions, you can use the --one-file-system 
switch for tar which will keep it from backing up other partitions hanging 
off of root. You can also append the '--excludedir' option for excluding 
directories such as /proc. /proc itself seems OK to backup, but it's a waste 
of tape space, and restoring /proc doesn't make any sense. Backing up /dev is 
al right - it just backs up the file names themselves.

The difficulty remains in restoring the / partition. If you wipe it out and 
then try to restore it, you will run into problems. For instance, 'tar' is in 
/bin, and /bin is gone if you format the root partition. You'll likely need 
to boot with a rescue disk which has 'tar' and other stuff on it and then 
mount your root partition somewhere else, then restore it.


-- 
------------------------------------------------------------------------
David E. Fox                              Thanks for letting me
[EMAIL PROTECTED]                            change magnetic patterns
[EMAIL PROTECTED]               on your hard disk.
-----------------------------------------------------------------------

Reply via email to