If your website stopped working after changes to its files, or a file was accidentally deleted, you can restore the files from a backup in the cPanel tool JetBackup 5. You can restore the whole website folder or just one file.

What is restored and what is not

  • Restored: the website files in the public_html folder – program files, images, plugins, themes and configuration files.
  • Not restored: the database (posts, pages, orders, users) – see the article “5.3. Restoring a database from a backup”.
  • Not restored: email – see the article “5.4. Deleted mailbox or emails – restoring from a backup”.
  • For WordPress websites, see also the article “3.16. Restoring website files from a backup (plugins, themes, configuration)”.

1Open JetBackup 5

On the cPanel home page, scroll down to the “Files” section and click “JetBackup 5”.

To learn how to open cPanel, see the article “1.2. Logging in to cPanel”.

cPanel Files section; JetBackup 5 is highlighted.

2Open "Home Directory"

In the "Restore & Download“ section, click ”Home Directory".

JetBackup home page; Home Directory is highlighted.

3Choose the date

The list shows the available backups; the “Created” column shows the date and time. Click the row with a date when the website still worked correctly. The row turns orange.

JetBackup Home Directory list; a row with a date is highlighted.

4Click "Change Files Selection"

The selected row shows “All Files/Directories Selected”, which means the whole account is selected. To restore only the website, click “Change Files Selection”.

✕Do not restore the whole account if you only need the website – other account files would be restored as well.

Selected row; the Change Files Selection button is highlighted.

5Tick public_html

In the “Select files” window, tick the “public_html” folder (it contains the website files) and click “Select Files”.

Select files window; the ticked public_html folder is highlighted.

6If you only need one file

To restore a single file, click the folder name (for example “public_html”) to open it. The “Current Path” line shows which folder you are in. Tick the file you need and click “Select Files”.

Files whose names start with a dot (for example .htaccess) are shown when “Show Hidden Files” is turned on.

Select files window in the public_html folder; the path and the ticked .htaccess file are highlighted.

7Click "Restore"

The selected row now shows how many files or folders are selected. Below the list, click “Restore”.

JetBackup list; the Restore button is highlighted.

8Choose how to restore

In the “Restore Summary” window, in the “Restore Options” section, tick “Merge backup data with live account data”. The backup files are then merged with the existing ones: files that are not in the backup (for example images uploaded later) remain.

If you want the folder to be exactly as it was in the backup, do not tick this option – files added after the backup date may then be deleted.

Restore Summary window; the Merge backup data with live account data option is highlighted.

9Start the restore

Click “Restore Selected Items”.

Restore Summary window; the Restore Selected Items button is highlighted.

After the restore

  • The restore runs in the background. If “Go to Queue after I click Restore.” is ticked, the “Queue” section opens, where you can follow the progress.
  • When the restore is finished, open your website and check that it works.
  • If you cannot restore the data yourself, we can do it for you – the service costs 25 EUR + VAT. Open a support ticket and state the date to return the data to and what exactly should be restored.

If you run into any difficulties, just write to us and we will help. support@area.lv

Was this answer helpful? 20 Users Found This Useful (24 Votes)