I have several Drupal (php/mysql) sites in production, and several more on my local development machine. I've had plenty of experience moving sites from the dev machine to a production server, but recently ran into a different problem. I needed to move an exact copy of a production Drupal 5 site to the local machine (running the XAMPP stack), and be able to debug the code to find a problem with a specific Drupal module. Here is the path I followed: