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

RE: [cobalt-users] Backing Up



Thanks for that Jeroen.  I will save this and start using it.  I've got 2
Raqs.  I assume this is run as a script every night or something?  Could it
be altered so that after it has done all this it copies all the tar files
that have been created to another server?

Of course, I was hoping for the backup fairy to be watching this list, waver
her magic wand and I would wake up this morning to find all the work done
for me.  The fact that I was up until 3am and then back in the office at
7.30 would indicate that I don't have much faith in the backup fairy :o)

Andy

> -----Original Message-----
> From: cobalt-users-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Jeroen Wunnink
> Sent: 17 July 2003 08:27
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: Re: [cobalt-users] Backing Up
>
>
> 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
>
> _____________________________________
> 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
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.501 / Virus Database: 299 - Release Date: 14/07/2003
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.501 / Virus Database: 299 - Release Date: 14/07/2003