I am interested in finding out if anyone has created a publicly accessible mirror of a live Web site based on Drupal and what the steps and/or considerations would be. I believe the biggest issue would be one of database replication and the fact that the mirrors would be uneditable or that the changes made to them would be overwritten, but maybe there are other considerations that I hadn't thought of. Whether the mirror was editable or not and whether it got overwritten or not is not really an issue to me. I'm basically looking for a way to automatically copy the Web site to one or more other servers somewhere else in the world, and have it (or them) be able to replace the primary server in case it went down. I do know about the "Producing a static HTML archive of an existing Drupal site" page, and I don't think that would work for what I am looking to do (just in case anyone was going to suggest it as an option).

Thank you.

Comments

london3’s picture

One of the fantastic things about Drupal is that all the data is stored in MySQL. Your solution is relativly simple.

Below is a link that descripbe MySQL replication
http://dev.mysql.com/doc/mysql/en/replication.html

It is not hard to set up and it is working exelent. I am using it on 9 databases to back up 4 servers.

You are right. The practicall way is to only allow write access on the main site. With mysql replication you are actually creating a hot backup in real time as any database can take over the work as the main database at any time

Are Casilla
http://astartelecom.com - Independent VOIP Telecoms Broker. Consulting in Asterisk and Drupal
http://astbill.com - Billing, Routing and Management software for Asterisk and MySQL. Running on Drupal
AstBill DEMO: http://demo.astbill.com