BackupBuddy: ImportBuddy Rough Draft
To use ImportBuddy, you'll first need to set a password. ImportBuddy requires this to protect unauthorized access to your site and backup files before you have finished restoring.
- This password is encoded inside your
importbuddy.phpfile when it is made, so:
- If you share this
importbuddy.phpfile to another for usage with a backup file you will need to provide the corresponding password.
- If you change the password will need to download a new copy of
importbuddy.php. Changing the password will NOT change it in existing
- If you share this
- To set your password, navigate to BackupBuddy > Settings and enter the password you'd like to use in the ImportBuddy & RepairBuddy password section.
- You can also set a password when you download ImportBuddy. If you set a password when downloading ImportBuddy, it overrides the password you created in your BackupBuddy Settings. If you leave the option blank, it will use the default password you created in your settings.
- An ImportBuddy password can also be set during the Quick Setup page after first installing BackupBuddy.
After setting your ImportBuddy password, there are two ways you can access ImportBuddy:
- Manually downloading (and then uploading to destination server)
- Sending to destination from within BackupBuddy
Manually Downloading and Uploading to Destination Server
Manually Downloading ImportBuddy
To manually download ImportBuddy and upload to your destination server, follow these steps:
- To download ImportBuddy, navigate to the Restore/Migrate page in BackupBuddy and click the Download ImportBuddy button. This will initiate the download of the ImportBuddy file.
- Save the file to your computer.
- You will next upload this file to your destination server to begin using it.
Uploading ImportBuddy to your destination server
- Decide on the FTP directory that you would like to migrate or restore the backup to (using an empty directory is best) that corresponds to the web URL you want your destination site to be at. For example, if you want your new site's URL to be "http://your.com/mybuddy/" then your server directory MIGHT be something like
/user/yourusername/public_html/mybuddy/. This is the directory you will then put importbuddy.php into. Note: The directory structure varies host to host but often follows a similar format.
importbuddy.phpand your backup zip file to the FTP directory that corresponds to your desired URL.
- Navigate to the
importbuddy.phpfile in your web browser after it has been uploaded. Example:
- To complete the migration or restoration process, visit the Manual Migration page.
Sending ImportBuddy to Destination
Instead of downloading ImportBuddy, you can send ImportBuddy directly to the location of your migration/restoration.
- To send ImportBuddy to a destination, navigate to the Restore/Migrate page in BackupBuddy and click the Send ImportBuddy to a Destination.
- In the window that opens, you be given options for where to send the ImportBuddy file. You'll find a list of your current remote destinations and an option to create a new destination.
- Follow the steps for Manual Migration or Magic Migration.
The 6 ImportBuddy Steps
ImportBuddy's Advanced Options allow customization of various ImportBuddy functionality for custom purposes or troubleshooting. Exercise caution as some advanced options may have unforeseen effects if not used properly, such as overwriting existing files or erasing existing database content.
Advanced Options can be located after clicking the Advanced Options button during the 6 ImportBuddy Steps.
- ZIP Archive Extraction (Step 2)
- Skip zip file extraction - Checking this box will prevent extraction/unzipping of the backup ZIP file. You will need to manually extract it either on your local computer then upload it or use a server-based tool such as cPanel to extract it. This feature is useful if the extraction step is unable to complete for some reason.
- Force medium speed compatibility mode (ZipArchive) - Bypass attempting to use command line zip. Rarely needed; troubleshooting.
- Force slow speed compatibility mode (PCLZip) - Bypass both high speed mode and medium speed mode, falling back all the way to PCLZip (slow speed). Rarely needed; troubleshooting.
- Database Import & Migration (Steps 3-5)
- Select the "Adanced Options" button while on Step 3 for database options.
- Skip migration of .htaccess file - Rarely used; for technical purposes only.
- Show detailed PHP warnings
- Import Logging - Errors and other debugging information will be written to importbuddy.txt in the same directory as importbuddy.php. This is useful for debugging any problems encountered during import. Support may request this file to aid in tracking down any problems or bugs.