How can I restore my WordPress website on Plesk using R1Soft Restore?
Note 1: To be able to follow this guide, you will need to be logged into your Plesk account - follow this guide if you require assistance.
Note 2: Backups are stored for up to 30 days but we also recommend making a local copy (back up saved onto one of your personal devices) of your website for archival purposes.
Note 3: This guide will restore your website to how it was at a particular snap shot at that time - if you are running a website that updates and stores sensitive data (ecommerce and client information) then we highly recommend consulting a website developer for further advice as you may experience a loss of information from the point the backup was taken up until before performing the restore.
Your Plesk account is automatically backed up to an external server where you can restore from. These backups are a snapshot of your files and databases that are stored in your account at the time which makes it easy to restore your website using R1Soft.
While the restore is taking place, your website will be unavailable for the duration (this depends on how many files and how large your website is).
Part 1 - Preparing the Restore Environment
Before restoring your website, you will need to make sure that you:
Step 1 - Find your WordPress Database
After logging into your Plesk account, go to WordPress on the left side panel and click on Database in the WordPress instance you would like to restore from, note down the Database name.
Step 2 - Detach your WordPress instance from WordPress Toolkit
To detach a WordPress installation from the WordPress Toolkit, select the WordPress installation name, and then click Detach.
Step 3 - Rename the current root folder of your WordPress and recreate the root folder; this is done to ensure the files are 'cleanly' restored into an empty folder.
Navigate to your files by clicking on Files on the side panel, find the root folder of your website (if this is for the primary domain name, then it would be located in httpdocs), then click on the options tab on the right side of the folder and click Rename.
Rename the folder - we usually use httpdocs.old, then up the top left of the screen, select New, and then create the Directory that you have just renamed (in our example, we would create httpdocs).
Once you're done creating a new directory, select the renamed folder and click on Add to Archive - this is to ensure this WordPress instance is not detectable by WordPress Toolkit.
Step 4 - Export your current database.
Navigate to your databases by clicking on Databases on the left side panel. Afterwards, click on Export Dump on the database you noted down from Step 1.
Part 2 - Restoring the Files
Step 1 - Navigate to Websites & Domains on the left side panel, find the icon for R1soft Backups and click on it.
Step 2 - Find the date and time that you wish to restore from and select the Browse Files icon on the right hand side of the screen.
Step 3 - Double click on Home and you should see the file structure of your Plesk files area, select the folder you wish to restore (in this example, we will be restoring the root folder httpdocs) and then click Restore Selected.
The restore process will now begin to restore your files, please wait patiently for the process to finish.
Part 3 - Restoring the Database
Step 1 - Go back to the main page of R1Soft, and then click on the Browse Databases icon from the date and time you would like to restore from.
Step 2 - If you do not see the databases, click on the red arrow on the left hand side to expand the selection, then select your database that you wish to restore from and click on Restore Selected.
Your database restore will now begin, please be patient for the restore to finish.
Part 4 - Linking WordPress Toolkit
Once you're done with restoring the files and database, you will need to now re-attach the WordPress instance.
Step 1 - Go back to your Plesk account and click on WordPress on the left side panel, once here, click on Scan to reattach your WordPress instance.
That is it! You should now have your WordPress website back to how it was at the time of the back up.