Drupal Mirror Plans

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?
  • 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.
In my case I use very different versions of Apache and PHP, this - of course - might lead to different behavior of my two sites, but that's not what I am concerned here.

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.
No votes yet
Theme provided by Danetsoft under GPL license from Danang Probo Sayekti