How To Backup and Restore A WordPress Site On Plesk?

0
34653
Plesk Wordpress Site
  • First, login to your site via your ftp client. Select all the files in your WordPress directory. Create a folder on your desktop and name it. Drag the selected files from your ftp client into the folder on your desktop. This may take a while depending on the size of your site. If you get any duplicate file warnings, then select overwrite, always use this action, and apply to current queue only, and then ok. Once the files have completed downloading, open the folder. Open the wp_config file. In here, you can find the name of the database that your WordPress site uses. We’ll need this for the next step.
  • Login to your Plesk control panel. Click on databases on the right hand side. Click on phpMyadmin On the left, select the database that your WordPress site is using. Click export, then click go. Select save file from the popup, then ok.
  • The database will download, usually to the downloads folder. Drag the database from your downloads folder, into your WordPress backup folder, to keep all of your files together. You now have a full backup of your WordPress site.

How To Restore A WordPress Site On Plesk

Login to your webspace via your ftp client, and navigate to the folder you want to put your WordPress site in. In this instance, we will be putting the site in the public_html folder. Drag every file except the sql database into your ftp client to upload the files. 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.

Add Database

The upload may take a while, depending on how large your site is when the upload is complete, login to yourplesk control panel. Click on databases on the right hand side. Click on add database. Enter a database name, user name and password. Make a note of these details, as you will need them later. Leave all other settings as they are and click ok. Click on phpmyadmin for the database you have just created, it may open in a new tab. Select the database on the left hand side Click on import Browse to the backup of your database and select it. Leave all of the other settings as they are and click go.

Wp-Config File

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.

LEAVE A REPLY

Please enter your comment!
Please enter your name here