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

RE: [cobalt-users] RAQ3 backup



I don't know what you mean by tar -cvpf?

I know I'm asking a lot, but is it possible for someone edit the
instructions below so they are correct and optimised, or could you post your
method Mike?

I'm so so sorry about my ignorance!

Si

> >
> > 1)Telnet in and su to root.
> >
> > cd /etc
> > tar cvfW /home/etc.tar .
> > cd /var
> > tar cvfW /home/var.tar .
> > cd /usr/admserv
> > tar cvfW /home/usr-admserv.tar .
> > cd /usr/local
> > tar cvfW /home/usr-local.tar  .
>
> I would add the p switch to tar to save the permissions on all files.
>
> > /home/log/httpd/ # httpd log files
> > /home/spool/ # user mail spools and crontab spools
> > /root/ # root's user directory
> > /home/sites/ # site files and user files
> >
> > 2)FTP tars to a safe place.
> > 3)Disaster hits!!!!!!!!!
> > 4)Upload tars to a new RaQ
> >
> > Telnet in and su to root
> > cd /etc
> > tar xvf /home/sites/home/users/admin/etc.tar
> > cd /var
> > tar xvf /home/sites/home/users/admin/var.tar
> > cd /usr/admserv
> > tar xvf /home/sites/home/users/admin/usr-admserv.tar
> > cd /usr/local
> > tar xvf /home/sites/home/users/admin/usr-local.tar
> >

> We've tried the above method and it has worked nicely although don't
forget
> about /home .

> The command tar -cvpf will be better suited in order to keep the file
> permissions and ownership in tact.

> Mike