BackupBuddy: Local Development

From IThemes Codex
(Difference between revisions)
Jump to: navigation, search
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''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.'''
+
BackupBuddy makes it easy to develop WordPress sites locally and move them to the live site URL. For more information on moving WordPress sites with BackupBuddy, visit the [[BackupBuddy:_Migrations|Migration]] section.
 +
 
 +
<br />
 +
 
 +
'''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 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.'''
 +
 
 +
<br />
  
 
Windows ZIP.exe & UNZIP.exe files: http://pluginbuddy.com/wp-content/uploads/2010/05/backupbuddy_windows_unzip.zip
 
Windows ZIP.exe & UNZIP.exe files: http://pluginbuddy.com/wp-content/uploads/2010/05/backupbuddy_windows_unzip.zip
  
==XAMPP==
+
<br />
 +
 
 +
=XAMPP=
  
 
XAMPP for Windows: http://www.apachefriends.org/en/xampp.html
 
XAMPP for Windows: http://www.apachefriends.org/en/xampp.html
  
==MAMP==
+
=MAMP=
  
 
* 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 please see the Mamp documentation. Recommended changes can be see under the Mamp Pro section below.
  
===MAMP PRO===
+
==MAMP PRO==
 
* To modify your php.ini file, select File -> Edit Template -> PHP -> PHP (version) ini
 
* To modify your php.ini file, select File -> Edit Template -> PHP -> PHP (version) ini
 
** See the below defaults and the recommended changes below.
 
** See the below defaults and the recommended changes below.
Line 31: Line 39:
 
</pre>
 
</pre>
  
==HOSTS FILE==
+
=Video Tutorials=
Here's one tutorial that may help:
+
*[http://ithemes.com/tutorials/using-backupbuddy-to-develop-a-wordpress-site-on-your-own-computer/ Using BackupBuddy to Develop a WordPress Site on Your Own Computer]
http://www.bleepingcomputer.com/tutorials/hosts-files-explained/
+
*[http://ithemes.com/tutorials/jumpstarting-your-wordpress-development-process-with-backupbuddy/ Jumpstarting Your WordPress Development Process with BackupBuddy]
  
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.
+
=See also=
 +
* [[BackupBuddy:_Introduction|Introduction]]
 +
* [[BackupBuddy:_Features|Features]]
 +
* [[BackupBuddy_Specifications:_Server_Configuration_and_Minimum_Requirements|Specifications: Server Configuration & Minimum Requirements]]
 +
* [[BackupBuddy:_Host_Compatibility|Host Compatibility]]
 +
* [[BackupBuddy:_Installation|Installation]]
 +
* [[BackupBuddy:_Quick_Setup|Quick Setup]]
 +
* [[BackupBudy:_Licensing|Licensing]]
 +
* [[BackupBuddy:_Updating|Updating]]
 +
* [[BackupBuddy:_Local_Development|Local Development]]
  
The procedure is basically:
+
<br />
* 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.
+
[[:BackupBuddy|← Back to BackupBuddy Codex Home]]
* 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.
+

Latest revision as of 08:55, August 14, 2013

BackupBuddy makes it easy to develop WordPress sites locally and move them to the live site URL. For more information on moving WordPress sites with BackupBuddy, visit the Migration section.


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 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


Contents

XAMPP

XAMPP for Windows: http://www.apachefriends.org/en/xampp.html

MAMP

  • To modify your php.ini file please see the Mamp documentation. Recommended changes can be see under the Mamp Pro section below.

MAMP PRO

  • 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

Video Tutorials

See also


← Back to BackupBuddy Codex Home

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox