[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] Backups - Newbie



Dear H.P.

Thank you so very much for your clear explination and sample.

Actually, I wish to back up my Raq3 Complete ! So as not to loose 
all of the long hours of installing MySql and all of the other usual 
bells and gizmos.

So Should I backup the entire OS from root or / ?  If so, another 
example would be very much appreciated.  Although, I do believe I 
have at least 1/2 of one brain cell remaining :)

Thanks again, Lennie


Lennie Core schrieb:
> 
> Since Im not a unix/linux command line person, can you give me
> the command to use via telnet login of su to make it happen ?
> 
> first drive is "home"  Second drive is "drive2"  Your assistance will
> be mucho appreciated..  and would that tar file be in the root of the
> second drive ?

i don`t remember what you want to backup ?

to backup for example /, /var/ and /home/ to /drive2/tmp/disk1.bak, type

tar -cpzf /drive2/tmp/disk1.bak / /home /var
           ^^ target             ^ ^     ^source

-c : create
-p : preserve permissions (!)
-z : compress the file
-f : archive filename

you might have a look at afio, better than tar as it can read even
archives when parts of it are messed up.

regards

-- 

H. P.  Stroebel, Germany

CGI-FAQ for Raq-Newbies :
http://users.iol.it/hpstr/

A problem to some is a 'feature' to others.


_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers

---------------------------------------------------
            Lennie Core, LCPCC
       Coreave.com, Design & Hosting
               757-442-2909