
There are a lot of myths surrounding data backups. Ones says that "the more often you take backup everything, the better it is", but actually that only applies to data that's changing. There is little point in wasting a lot of resources repeatedly backing up the same unchanging builds in
/usr/local if you're in a stable web server environment where you web site content and MySQL databases are the critical data, with configuration files such as .htaccess being used for any minor tweaks the server needs on a per-directory basis.
But using a carefully structured backup strategy
could lead to you missing out one critical element, so it's best to check out that your backups are good. How to do this?
Yesterday, I had an eight hour airline flight ... and I had with me a Linux / Fedora laptop and a "complete" set of structured backups from which a restore / rebuild of our web site should be possible. What better opportunity to spend a couple of hours (a.k.a. one battery laptop lifetime) checking that my backups really did work?
I'm pleased to report success; in the time I had, I stripped out delegate's builds of Apache httpd, PHP and MySQL from /usr/local, installed a fresh set using the distributions I had with me as part of the backups, restored the specific config files and then the websites including HTML, CGI, Database and ancillary directories from my backups. And (apart from accessing data from other servers such as the European Central Bank - not available in-flight!) it all worked.
A few more pictures

I wasn't the only one working in flight ...

An evening flight, the low sunlight over the wing ...

... and as we flew into the night, cities lay out below us.
(written 2008-09-18 15:26:34)
Associated topics are indexed under
A162 - Web Application Deployment - Backups and File System Management
Some other Articles
Carlisle High School - Class of 1973 ReunionColvin and CarlisleFTP passive mode - a sometimes cure for upload hangsMotorcycles welcome at Well House ManorWill your backups work if you have to restore them?Spiders WebRegular Expressions in PHPWhat does an browser understand? What does an HTML document contain?I have been working hard but I do not expect you noticedlibwww-perl and Indy Library in your server logs?