“On database-driven web sites, there are two kinds of data you
want to preserve and restore in case of disaster: the files that
make up your site (the PHP/Perl/Python, JavaScript, CSS files,
etc), and the contents of your database. Further, any good backup
system should make both a local copy and a remote copy of the
backed-up data.I run several database-driven sites and applications, including
this blog, so my backup system has to be solid. Here’s how I have
it set up. This method assumes a few things: You’re running a
LAMP-based web site (Linux, Apache, MySQL and PHP/Perl/Python)
Automatically Back Up Your Web Site Every Night
By
Get the Free Newsletter!
Subscribe to Developer Insider for top news, trends, & analysis