If you have a cPanel, that is, if you have purchased the GREEN CPANEL package or one of its derivatives, then this tutorial is for you!
If you don't have access to the cpanel and if you want to restore a backup, simply open a request ticket from your customer area and we will take care of everything.
What is JetBackup?
JetBackup is the backup system integrated into the server that automatically creates a backup every 12/24 hours:
- DNS
- FILE
- database
- CronJob
- Certificates
- Account FTP
How to restore a WordPress installation?
WordPress is made up of FILE e DATABASE.
- The files (“stores”) contain the data that the server reads to process the information necessary to make the website work.
- The DATABASE contains additional information logically organized, i.e. by tables and records, which the files invoke from time to time to show one content rather than another on the various pages.
For example, a set of files will tell you what a menu should look like and what should happen when a menu item is clicked, while the database will contain the menu items and the links to which those items lead.
Other files may contain the information necessary to instruct our browser on how to view the pages of our website, while the database will contain the texts that are displayed within the pages: if we visit 10 pages, the files will always be the same while the records will change of the database.
1. HOW TO RESTORE FILES
From the cpanel we access JetBackup by clicking on the respective logo
On the next screen we click “Home Directory” to browse files and folders to restore
We then select the date corresponding to the backup we want to restore and click "change file selection". We will have to remember that date and time because we will have to restore the corresponding backup of the database.
Finally, let's select the folder corresponding to the WordPress installation we want to restore. If it is the main site of our cpanel, then the folder will be public_html, while if it is an additional site, the folder will have the name of the domain (as in the example livingamsterdam.com or easygreenvillage.com) and we click "select files ”
Finally, click the "restore" button on the next screen to start the restore.
2. HOW TO RESTORE THE DATABASE
At this point we will have to do the same thing for our website database.
First we will have to move to the "database" tab of JetBackup
Next we will need to locate the database of our installation. Warning: the name could be similar to the domain or completely different. We can read the name of the database from the WordPress administration area: Tools ⇒ Site Health ⇒ “Information” tab ⇒ Database
It is then important to select the date corresponding to the backup of the files that has been restored
Finally again we will have to click restore at the bottom
To see the progress of the restoration, simply click on the "queue" button from the JetBackup dashboard
The procedure could take from a few seconds to a few tens of minutes or even an hour: it is important to wait.
If you need a hand, you can always request our help by opening a ticket from your customer area.
Happy restorations 🙂 !