My HP

12th April, 2020 | Backups |

How to to restore files or folders in cPanel using Jetbackup

If you accidentally delete a file or folder, make a mistake editing a file, or your site breaks following an update, you can easily restore the files or folders using the Jetbackup restore features within cPanel.

We will start by showing you how to restore individual files within cPanel. If you only want to restore folders please skip straight to the Restore a folder section


Restore a file:

Firstly, log into your cPanel account. If you are unsure on how to do this, please view the following help article - 'How to log into cPanel', Then once logged in - under the Jetbackup heading, click on File Backups


Once on the file backups page, select the backup you wish to restore from and click on File Manager to the right of the backup.


You will now see the list of your cPanel folder directories from the backup. For this example we're going to try restoring the index.php file within public_html, so click on the public_html link as shown in the image below.

Note: If you wish to restore hidden dot files such as .htaccess, please click on the Show Hidden Files tick box at the top of the page.

This will then enter the public_html folder. Here you will want to select the file (or files) you wish to restore. As mentioned, in this example we will be restoring the index.php, so you will want to click on the tick box next to index.php

If you want to restore multiple files, simply tick as many as you need to restore.

Once ready, click on the Restore Selected button

This will then open a section underneath where you will need to tick the box for "Are you sure you want to restore this account?"

Then finally click on Add to Restore Queue.

Note: If instead of restoring you wish to download a copy of the file as a backup on your local machine, select the file then click on "download selected". The system will then process this and provide you with the link to download the file.

Once added to the queue you will see a note at the bottom of the page to note that it has been successfully added to the queue, along with a note to the right of the page under the "Restores" heading, showing: Restore in Progress.


To check on the progress of your restoration, you will need to go back to your cPanel home page, then click on the Queue option under the Jetbackup heading.


Once on the Jetbackup Queue page, the system will tell you if the restoration is still in progress, or completed.

When this has completed, give your file or website a quick check to ensure the restore has resolved the issue.


Restore a folder

If you haven't already, please log into your cPanel account. If you are unsure on how to do this, please view the following help article - 'How to log into cPanel', Then once logged in - under the Jetbackup heading, click on File Backups


Once on the file backups page, select the backup you wish to restore from and click on File Manager to the right of the backup.


You will now see the list of your cPanel folder directories from the backup. For this example we're going to try restoring our WordPress wp-content folder within public_html, so click on the public_html link as shown in the image below.

Note: If you wish to restore hidden dot files such as .htaccess, please click on the Show Hidden Files tick box at the top of the page.

This will then enter the public_html folder. Here you will want to select the folder (or folders) you wish to restore. As mentioned, in this example we will be restoring our WordPress wp-content folder, so you will want to click on the tick box next to wp-content

If you want to restore multiple folders, simply tick as many as you need to restore.

Once ready, click on the Restore Selected button

This will then open a section underneath where you will need to tick the box for "Are you sure you want to restore this account?"

Then finally click on Add to Restore Queue.

Note: If instead of restoring you wish to download a copy of the folder as a backup on your local machine, select the folder then click on "download selected". The system will then process this and provide you with the link to download the folder.

Once added to the queue you will see a note at the bottom of the page to note that it has been successfully added to the queue, along with a note to the right of the page under the "Restores" heading, showing: Restore in Progress.


To check on the progress of your restoration, you will need to go back to your cPanel home page, then click on the Queue option under the Jetbackup heading.


Once on the Jetbackup Queue page, the system will tell you if the restoration is still in progress, or completed.

When this has completed, give the folder or website a quick check to ensure the restore has resolved the issue.

Comments