Restoring a Wordpress Website

Restoring your WordPress website by restoring the files and database separately is often preferable to performing a full account restore because it allows for greater control and precision. A full account restore replaces everything—emails, other subdomains, or applications—potentially undoing changes unrelated to the WordPress site. By restoring only the necessary components, you avoid overwriting other important data and ensure that only the WordPress site is affected.

A restore replaces what is there now. Restoring the Home Directory overwrites the current files, so anything changed since that backup was taken is lost. If the site is still partly working, take a copy of the current state first - cPanel's File Manager can compress the folder, or you can download it - so you can get back to where you started if the restore is not what you expected.
If you are recovering from a hack, choose the backup date with care. A backup taken after the site was compromised contains the compromise. Restoring the most recent one is the natural instinct and often the wrong move - work back to a date before the first sign of trouble, and read My website has been hacked! before putting the site back online, because a restore alone does not close whatever let the attacker in.

To restore your WordPress site using JetBackup 5 in cPanel, follow these steps:

  1. Login to cPanel.
  2. Navigate to JetBackup 5. Look for the "JetBackup 5" section in your cPanel dashboard.
  3. Restore Database:
    • Select "Databases"
    • Find the backup of your WordPress database (review the wp-config.php file if you are unsure).
    • Each backup is listed as a row with the date it was taken - select the row for the date you want to restore from.
    • Once selected, Click "Restore" at the bottom to begin the restoration process. (You can also download to save locally by using the Download button)
  4. Restore Home Directory:
    • Go back to the JetBackup 5 main page and choose "Home Directory"
    • Select the date you wish to restore the files from and click "Change Files Selection"
      • (Click a folder name to enter the folder or tick the box next to the folder to restore the folder and its contents)
    • Browse for your WordPress installation directory and tick the box next to the folder (usually /public_html/).
    • Once you have ticked the files/folders, click Select Files and then click Restore at the bottom.
Choosing individual files or folders is only possible on an Incremental backup. Archived or compressed Home Directory backups do not offer file selection - with those you can only restore the whole Home Directory.
  1. Check Your Site: Use the Queue section of JetBackup to review the status of your restore. Once restored, ensure the site is functioning as expected.

If a restore fails, or the Queue shows an error you cannot interpret, contact support rather than retrying it repeatedly.

By restoring the database and files separately, you maintain control over what gets restored and reduce the risk of disrupting unrelated services.


How did we do?

Powered by HelpDocs (opens in a new tab)
© Krystal Hosting Ltd 2002–