Question : Mirroring a MYSQL database on same server

We have our own dedicated server at one of the popular managed hosting companies.

I have a very large website running in Joomla using PHP 5 / MYSQL 5.  The database is about 40 MB.

What I would like to set up is a sort of mirror where the mirror is something like a day behind the live server.  

So if anything really serious ever happens to the live site I can cut over to the other virtual server that has the database from the previous day. I would probably temporarily disable login and registration until we figured out what the problem is on the main site. Not sure if this is possible.  

I have root access to the server with webmin.

Answer : Mirroring a MYSQL database on same server

Webmin actually has a schedulled MySQL backup system. You could set it to make a daily backup and store it somewhere accessible by the Virtual Server and if anything happens you could easily run those queries by hand on the private server (or just create a cron job that runs them)
Random Solutions  
 
programming4us programming4us