Re: Making an app unviewable during system maintainance
| From: | Greg Donald | Date: | Tue, 20 Apr 2004 22:45:20 +0000 |
| Subject: | Re: Making an app unviewable during system maintainance | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-184073@lists.php.net to get a copy of this message | ||
> Hi there I was wondering how people usually turn the app off during system
> maintainance. During the hours of 6-7 the database goes down for backing
> up, the users therefore keeping trying to get into the system, i get an
> error that the database is down when i know it should be down near that
> time. Without causing too many if statements what is the best way to do
> this ?
Get another server, setup replication, and do backups off the slave,
virtually no downtime then.
Otherwise make a site-down page and cron it's swap out schedule with your
backups schedule.
--
Greg Donald
destiney@destiney.com