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

Re: [cobalt-users] Cobalt RaQ3 Backup



> >
> > 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

> j
> --
> http://www.bizmanuals.com
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users