[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Backup Procedure
- Subject: RE: [cobalt-users] Backup Procedure
- From: "Stephen - Cobalt List" <cobaltlists@xxxxxxxxxxxxx>
- Date: Fri Jun 7 06:07:01 2002
- Organization: Hosting365.ie
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Just get raqbackup.sh - it does all this and is free :)
Best regards,
Stephen Mc Carron
----------------------------------------
www.hosting365.ie
www.register365.ie
www.scoileanna.com - Educational Host
Phone: 1800 365 965
Fax: 01 276 3347
Email: sales@xxxxxxxxxxxxx
365 Hosting Ltd.
Unit 52, Southern Cross Business Park
Bray, Co. Wicklow, Ireland
-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx] On Behalf Of Simon Pierce
Sent: 07 June 2002 13:52
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: [cobalt-users] Backup Procedure
Hi,
I posted this message a couple of days ago but nobody replied - I'm
desperately hoping someone here can help me out with this.
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? Also, what do I need to do
to add mySQL databases to this procedure?
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!
_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users