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

[cobalt-users] Backup Procedure



Hi,

I'm trying to put together a simple, reliable step by step backup procedure
for a RaQ 3 that would allow people to back up their RaQ to compressed TAR
archives. Unfortunately, I have no way of testing it, short of an actual
failure of my RaQ.

Would it be possible for someone here to read through the procedure below
and tell me if it will work? Would can you forsee any problems?

Better still, is someone willing to TRY it?

Cheers!

Simon


Backup Procedure

1)Telnet in and su to root. Type the following commands.

cd /
tar -cpvz -f /home/backup/etc.tar.gz etc

cd /
tar -cpvz -f /home/backup/var.tar.gz var

cd /
tar -cpvz -f /home/backup/root.tar.gz root

cd /usr/
tar -cpvz -f /home/backup/usr-admserv.tar.gz admserv

cd /usr/
tar -cpvz -f /home/backup/usr-local.tar.gz local

cd  /home/log/
tar -cpvz -f /home/backup/home-log-httpd.tar.gz httpd

cd  /home/
tar -cpvz -f /home/backup/home-spool.tar.gz spool

cd /home/
tar -cpvz -f /home/backup/sites.tar.gz sites

2)Using FTP, browse to the /home/backup/ folder, and copy the TARs to a safe
place.
3)Disaster hits!
4)On a new RaQ, create the folder /home/backup/ and copy the TARs accross.
5)Telnet in and su to root. Type in the following commands:

cd /
tar -xfpvz /home/backup/etc.tar.gz

cd /
tar -xfpvz /home/backup/var.tar.gz

cd /
tar -xfpvz /home/backup/root.tar.gz

cd /usr/
tar -xfpvz /home/backup/usr-admserv.tar.gz

cd /usr/
tar -xfpvz /home/backup/usr-local.tar.gz

cd  /home/log/
tar -xfpvz /home/backup/home-log-httpd.tar.gz

cd  /home/
tar -xfpvz /home/backup/home-spool.tar.gz

cd /home/
tar -xfpvz /home/backup/sites.tar.gz

6) Restart RaQ and hope for the best!