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

Re: [cobalt-users] Using CMU to restore sites after attack?



> > Do you have a simple way of doing this? Still not very proficient in
command
> > line stuff. Step by step!
>
> 1. SSH into your server
> 2. su - <enter admin password>
> 3. cd /home/sites
> 4. tar cfvRpz site#.tar.gz site#
>
> This will tar up your whole site with the user permissions intact. Type
"man
> tar" with out the quotes for the tar user manual.

Problem with using tar instead of CMU is, as I understood, you have to be
realy careful about the site-numbers: messing up the site-numbers (i.e.:
recreating the sites from the interface in a different order) makes
untarring the backup a problem.

Jelmer