Drupal Mirror Plans
Submitted by Maurice on Wed, 12/03/2008 - 12:14
I recently set up a simple backup script that downloads my Drupal site and backs it up. The result is a zipped file that I hardly ever look at. Now for backup, but also for testing, it would be much nicer to have a script that mirrors my site as it is this moment to an active environment on localhost. Then you can check if the backup worked and you can easily start experimenting with new stuff (modules) without exposing your production server to any risk.
To get a simple version of this functionality, what were the steps to get this running?
I think, I will write this in perl next time I have some time. I might use wget to make it work fast and later switch to LWP.
I am surprised that there are not more activities in the Drupal community aimed at making the creation of mirrors easier.
To get a simple version of this functionality, what were the steps to get this running?
- use a Drupal module to backup the DB,
- then download the whole site (including DB backup) into a local folder on localhost,
- install the DB to the local host and
- change this or that in settings.php and .htaccess to make it work.
I think, I will write this in perl next time I have some time. I might use wget to make it work fast and later switch to LWP.
I am surprised that there are not more activities in the Drupal community aimed at making the creation of mirrors easier.
- Maurice's blog
- Login to post comments
Printer-friendly version
