BackupBuddy: Local Development
SUPPORT DISCLAIMER: As running a local development environment is in fact running a server, you - the user - are expected to have an understanding of how a server is configured and operated and that iThemes / PluginBuddy cannot be expected to diagnose and fix server issues in the same way that we would not diagnose and fix commercial host server issues - these development environment have their own support offerings and they should be used.
Windows ZIP.exe & UNZIP.exe files: http://pluginbuddy.com/wp-content/uploads/2010/05/backupbuddy_windows_unzip.zip
XAMPP for Windows: http://www.apachefriends.org/en/xampp.html
- To modify your php.ini file please see the Mamp documentation. Recommended changes can be see under the Mamp Pro section below.
- To modify your php.ini file, select File -> Edit Template -> PHP -> PHP (version) ini
- See the below defaults and the recommended changes below.
Mamp php.ini defaults
max_execution_time = 30 ; Maximum execution time of each script, in seconds max_input_time = 60 ; Maximum amount of time each script may spend parsing request data memory_limit = 32M ; Maximum amount of memory a script may consume (8MB) magic_quotes_gpc = On
Mamp php.ini recommendations
max_execution_time = 60 ; Maximum execution time of each script, in seconds max_input_time = 60 ; Maximum amount of time each script may spend parsing request data memory_limit = 256M ; Maximum amount of memory a script may consume (8MB) magic_quotes_gpc = Off
Here's one tutorial that may help: http://www.bleepingcomputer.com/tutorials/hosts-files-explained/
The HOSTS file allows you to basically just update the DNS settings for the site ONLY FOR YOU on your computer. This lets you try out what would happen if you updated the DNS settings for everyone but only locally. The goal is basically to make your own computer think that your website is reached by going to the new IP address instead of the IP address everyone else on the internet goes to by visiting your URL. This allows you to access the new site before officially pointing everyone on the internet to the new server.
The procedure is basically:
- Update your computer's HOSTS file to point the new destination server IP address. Leave DNS settings as-is so that everyone else online will continue to see the normal site.
- Connect to your site. When you connect to it you should end up on the new server if you've set up your HOSTS file properly. Upload ImportBuddy, your backup file, etc to it.
- Restore normally. Verify that it all works properly.
- Assuming everything is good to go you can then change the DNS so that everyone else online gets switched over to accessing the new server. This results in a seamless launch with no down-time. Make sure to re-edit your HOSTS file to remove the bypass so you don't forget.