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

Re: [cobalt-developers] Backups - Newbie



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.