Our cPanel hosting is backed up automatically with JetBackup. You can restore your website files, a database or a mailbox from these backups yourself, from cPanel, without opening a ticket. The list in JetBackup shows which backup dates are available for your account.
A restore puts things back as they were on the backup date, and replaces the current version. If you have made changes since then that you want to keep, download a copy of the current state first (How do I back up my website in cPanel?).
Open JetBackup
- Log in to cPanel (see How do I log in to cPanel or Plesk?).
- Under Files, open JetBackup 5.
Restore website files
- Click Home Directory.
- Click the backup date you want to restore from.
- To restore only some files or folders, click Change Files Selection, tick what you need and click Select Files. Your main website is in the public_html folder; an addon domain has its own folder.
- Click Restore, check the list, then click Restore Selected Items.
Restoring just the files you need is safer than restoring the whole home directory, which also contains your email.
Restore a database
WordPress and most other website software keep their content (posts, pages, orders, settings) in a database. If your site's content is wrong or missing, restore the database from the same date as the files.
- Click Databases and click the database name.
- To use an older backup, click Choose Other Backup and pick the date.
- Click Restore, then Restore Selected Items.
Not sure which database your site uses? For WordPress, open wp-config.php in File Manager and look for DB_NAME.
Restore a mailbox or deleted email
- Click Email Accounts and click the email address.
- To use an older backup, click Choose Other Backup and pick the date.
- If you only want deleted messages back, tick Merge backup data with live account data (if it is shown). The messages from the backup are then added to the mailbox, and newer mail is kept.
- Click Restore, then Restore Selected Items.
Restored messages appear in the mailbox on the server. If you use POP3, or have already emptied the mail app's trash, check webmail (How do I read my email in a web browser (webmail)?).
Download a backup instead
To get a copy without changing anything on your hosting, choose the backup as above and click Download, then Download Selected Items. Preparing the file can take a few minutes. When it is ready, click Downloads in the JetBackup menu and click Download next to the file. You can then pick out single files on your computer and upload them with File Manager (How do I upload my website files?).
Check progress
Restores and downloads run in the background. Click Queue in the JetBackup menu to see their status. Wait until the job shows as completed before checking your website or mailbox. A large restore can take a while.
Things to know
- Restore the files and the database from the same date, so they match.
- After restoring a WordPress site, log in and check it. Clear any caching plugin's cache, and update WordPress and plugins again if the backup is older (How do I keep WordPress, plugins and themes up to date?).
- If your site was hacked, restore from a date before the problem started, then change your passwords (How do I keep my cPanel account secure?).
- JetBackup keeps backups for a limited time, so act quickly when something is lost. Keep your own copies too (How do I back up my website in cPanel?).
- Can't find the date you need, or the restore didn't fix the problem? Open a ticket (How do I contact support or open a ticket?), and tell us what was lost and when it was last working.