httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sheryl" <>
Subject RE: [users@httpd] Re: backup & restore apache & mysql
Date Fri, 07 Aug 2009 15:30:07 GMT
> Sheryl
> Many thanks for the comprehensive reply and information; I'll look at
> zmanda now (I have looked at using the Amanda backup stuff once already
> and thought it was very good).
> Would making a copy of the httpd.conf and conf.d folders be sufficient
> for a good easily "restorable" Apache backup?
> Rich


Any time.  And yes, I've heard very good things about amanda
(now zmanda) although I've never used the main backup package
on the job.

Apache is going to be considerably more forgiving than mysql.
As long as you don't change minor numbers (like 2.0 to 2.2) the
httpd.conf should work on any hardware/OS you restore to as should
the html.  However, you need to make sure you get all of the bits
and pieces.  Better to back up too much than too little.  And I also
like to put configuration files under version control in subversion
as well as back them up.

In the past at our site, we had apache, php and mysql software
installed in /opt, supporting small programs in /usr/local,
perl modules in /usr/lib/perl5, cron jobs in /var/spool/cron,
etc and sometimes had to scramble to reassemble them on a recovery
machine.  More recently we have been taking the hit on disk space and
including everything the site needs in one tree.  If we have a
disaster we restore the whole tree to a clean install.  If we need a
development version we restore the whole tree to a clean install and just
change a few lines in httpd.conf to get it to come up under the new
name/IP.  Of course we already compiled our own apache and php
rather than using RPMs and we have a  mysql support contract so we
had to use binaries  instead of what came with RedHat
(and wanted to use more current copies anyway).



The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message