[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Backing Up
- Subject: Re: [cobalt-users] Backing Up
- From: Jeroen Wunnink <jeroen@xxxxxxxxxxxxxx>
- Date: Thu Jul 17 00:25:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
We make sure to back up like this, if you untar this whole bunch from /
after your raq has been updated with all patches and the fresh OS,
basically you'll have your raq fully restored.., just a few small ends to
tie up (perhaps a myisamchk on the MySQL tables in case some didn't close,
and run the quota_restore command to reinstate the quota's):
# Make the Backup
tar -zcvf SERVERNAME_SYSTEM.tar.gz /etc/* /root/*
tar -zcvf SERVERNAME_MySQL.tar.gz /home/mysql/*
tar -zcvf SERVERNAME_FRONTPAGE.tar.gz /usr/local/frontpage/*.cnf
tar -zcvf SERVERNAME_MAIL.tar.gz /var/spool/* /home/spool/* /var/vacation/*
/usr/local/majordomo/* /home/neomail/users/*
tar -zcvf SERVERNAME_CHILI-ASP.tar.gz /home/chiliasp/*
tar -zcvf SERVERNAME_WEBINTERFACE.tar.gz /home/.cobalt/* /usr/adm/*
/usr/admserv/* /var/cobalt/* /var/lib/pgsql/*
clear
echo ------------------------------ START ------------------------------------
echo Storing User DATA
echo
tar -zcvf SERVERNAME_sites-home.tar.gz /home/sites/home/*
tar -zcvf SERVERNAME_sites1.tar.gz /home/sites/site1
tar -zcvf SERVERNAME_sites10x.tar.gz /home/sites/site10*
tar -zcvf SERVERNAME_sites11x.tar.gz /home/sites/site11*
tar -zcvf SERVERNAME_sites12x.tar.gz /home/sites/site12*
tar -zcvf SERVERNAME_sites13x.tar.gz /home/sites/site13*
tar -zcvf SERVERNAME_sites14x.tar.gz /home/sites/site14*
tar -zcvf SERVERNAME_sites15x.tar.gz /home/sites/site15*
tar -zcvf SERVERNAME_sites16x.tar.gz /home/sites/site16*
tar -zcvf SERVERNAME_sites17x.tar.gz /home/sites/site17*
tar -zcvf SERVERNAME_sites18x.tar.gz /home/sites/site18*
tar -zcvf SERVERNAME_sites19x.tar.gz /home/sites/site19*
tar -zcvf SERVERNAME_sites2.tar.gz /home/sites/site2*
tar -zcvf SERVERNAME_sites3.tar.gz /home/sites/site3*
tar -zcvf SERVERNAME_sites4.tar.gz /home/sites/site4*
tar -zcvf SERVERNAME_sites5.tar.gz /home/sites/site5*
tar -zcvf SERVERNAME_sites6.tar.gz /home/sites/site6*
tar -zcvf SERVERNAME_sites7.tar.gz /home/sites/site7*
tar -zcvf SERVERNAME_sites8.tar.gz /home/sites/site8*
tar -zcvf SERVERNAME_sites9.tar.gz /home/sites/site9*
tar -zcvf SERVERNAME_sites-WWW.tar.gz /home/sites/w*
At 07:52 PM 7/16/2003 +0000, you wrote:
A little OT, but I thought I would share this with you all. I run a
dedicated Raq with Host Europe. The 60 odd sites on that box are all backed
up but not the user data or the MySQL tables etc that are used on a couple
of sites.
The hard drive crashed today and I'm sitting here faced with a very long
night trying to get everything back the way it was.
There will be many self righteous individuals out there sitting there
feeling very smug with themselves. Good for them.
There will be many not so self righteous out there saying that it won't
happen to them. Just like I did every time someone posted into the Cobalt
Users group telling people about their hard drive crashes...
--
Andy Jacobs
www.redcatmedia.net
T: 0845 644 6720
_____________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users
Met vriendelijke groet,
Jeroen Wunnink,
EasyHosting B.V. Systeembeheerder
systeembeheer@xxxxxxxxxxxxxx
telefoon:+31 (035) 6285455 Postbus 1332
fax: +31 (035) 6838242 1200 BH Hilversum
http://www.easyhosting.nl