The following will describe what is needed to start migrating or restoring a backup.
- Create a new database and assign a user to that database.
- Decide on the directory that you would like to migrate or restore the backup to(Using an empty directory is best).
- Upload importbuddy.php and the backup zip to that directory.
- Navigate to the importbuddy.php file after it has been uploaded.
- Example: http://newsite.com/importbuddy.php
- Follow the directions in each importbuddy step.
On this step there is a dropdown list of the backup zip files that can be restored. This step also allows the user to set advanced troubleshooting options to customize the importbuddy process.
- Skip zip file extraction.
- This option is mainly used if the files are manually being unzipped instead of using the importbuddy file extraction process.
- Skip import & migration of database.
- Skip migration of .htaccess file.
- Force medium speed compatibility mode (ZipArchive).
- Force slow speed compatibility mode (PCLZip).
- Show detailed PHP warnings.
This step allows the user to select whether they are restoring to the same location or migrating to a new location.
- Selecting Migrate to new server will NOT pre-fill any of the server/database information for step 4.
- Selecting Restore to same server will pre-fill some of the server/database information for step 4.
The file extraction process occurs during this step, and the extraction method used is displayed.
This step is used to set the URL and database connection information.
- New Blog URL
- This field will be pre-set using the information for the current directory the user is restoring to.
- MySQL Server
- This is the address to the mySQL server where your database will be stored. 99% of the time this is localhost. The location of your mySQL server will be provided to you by your host if it differs.
- Database Name
- This is the name of the database you want to import your blog into. The database user must have permissions to be able to access this database. If you are migrating this blog to a new host you will need to create this database (ie using CPanel or phpmyadmin) and create a mysql database user with permissions.
- Database User
- This is the database user account that has permission to access the database name in the input above. This user must be given permission to this database for the import to work.
- Database Pass
- This is the password for the database user.
- Database Prefix
- This is the prefix given to all tables in the database. If you are cloning the site on the same server AND the same database name then you will want to change this or else the imported database will overwrite the existing tables.
After entering the database information there is a button labelled "test database settings" that will test the validity of that connection information.
The wp-config.php information is set, the database information is imported, and the links are changed during this step.
This step attempts to delete