How do I deploy my WordPress Backup?
Deploy WordPress backup; Now that you’ve made your WordPress backup you need to know how to deploy it. This procedure is relatively simple and is almost the backup process in reverse.
Deploying the Backup
This guide assumes you intend to deploy the backup into a fresh cPanel or Plesk control panel (This is important if you have been affected by malware).
If your SQL file is over 20 MB, please contact our support team
. If you’re a VPS user or have SSH access, you can initiate the import yourself using the CLI.
To deploy the backup you must first transfer in your existing WordPress files. You can do this using your FTP client.
- Connect to your server via your FTP client.
- Navigate to or create the WordPress directory. For instance [public_html]
- Using your previously made backup directory. Drag over all the website content.
- If you get a “target file already exists” popup, then select overwrite, always use this action and apply to current queue only, then click ok.
Now you have transferred in your files, you will need to tie them together with their database counterpart. This is a slightly different procedure for each control panel, whether that be cPanel or Plesk.
The upload could take awhile.
This is dependent on the size of your site and the speed of your internet connection.
- Re-create the database using the name in the “wp-config.php” file.
- This database will require a user that has the same username and password as within the “wp-config.php” file.
- Under databases click “phpMyAdmin”
- Select the database on the left, click “Import”.
- Choose the SQL file from your backup folder.
- Click “Go”.
- After the upload has completed, login to your Plesk control panel.
- Whilst viewing your domain, click databases in the right sidebar.
- From here click add database and enter the database name. Create a database user with a username and password. Click Ok.
- For the database you have just created enter phpMyAdmin.
- Inside phpMyAdmin select the database on the left hand side. Click Import.
- Browse to the backup of your database and select it.
- Leave all of the other settings as they are and click go. Your sites database will upload.
- Once this is complete, you need to setup your wp-config file.
- Open the wp-config file in an editor, and change the DB_NAME, DB_USER and DB_PASSWORD to the details you made a note of earlier.
- DB_HOST should be set to localhost, change it if this is not the case. Save the file.
- Drag the wp-config file into your ftp client to overwrite the original.
- Your WordPress site has now been setup, and you can view it in your browser.