If your site was hacked, a big change went badly wrong, or you simply want everything back the way it was, you can restore your whole Instant Access Internet Services hosting account to an earlier date yourself. This guide walks through a full account restore with JetBackup 5 in cPanel, and explains what gets overwritten so there are no surprises.
Before you restore the whole account
A full account restore puts your website files, databases, email accounts and other settings back to how they were on the backup date. That's powerful, but it also means anything added since then can be overwritten: new blog posts, orders, form entries, uploaded images and email that arrived after the backup.
- Only need part of it? Restoring just a folder, one database or one mailbox is quicker and safer. See the related guides below.
- Pick the right date. Backups run three times a week and the latest 7 are kept (about two weeks). For a hacked site, choose a date from before the problem started.
- Keep a copy of today's version. If there's anything current you might want later, download it first (see "How to Download a Copy of Your Website Backup") or copy it off with File Manager or FTP.
- Tell your team. Anyone editing the site or sending email during the restore may lose their changes.
How to restore your whole account with JetBackup 5
- Log in to cPanel and go to Files > JetBackup 5.
- If this is your first visit, read the terms, tick the I Agree boxes and click Continue to Panel.
- Click Full Backups on the dashboard (or click Restore & Download in the left menu and open the Full Account tab).
- Choose the backup date you want to go back to.
- Click Restore.
- Review the Items To Restore list. It includes everything in the backup by default -- home directory files, databases, database users, email accounts, FTP accounts, cron jobs, DNS zone and SSL certificates. To leave a category out (for example, to keep today's email), click Remove items under it.
- Decide whether to turn on the Merge option (merge backup data with live account data). See the next section.
- If restore conditions are shown, read and accept them.
- Click Restore Selected Items. The restore is added to the queue.
- Click Queue in the left menu to follow progress. When the status changes to Completed, the restore is done.
- Check your website in a private browser window, log in to WordPress (if you use it), and send yourself a test email.
A full restore can take from a few minutes to over an hour on a large account. Your site may look broken or half-updated while it runs -- that's normal. Let it finish before judging the result.
Merge or replace?
| Option | What happens | Use it when |
|---|---|---|
| Merge turned on | Backup data is added back, but anything that exists on the live account now is kept. Live data wins where both exist. | You deleted things by mistake (files, emails) and want them back without losing newer items. |
| Merge turned off | The account is put back to how it was on the backup date. | The site was hacked or badly broken and you want a clean roll-back. |
For a hacked website, leave merge off. Merging would keep the attacker's added files.
After restoring a hacked site
- Change your cPanel password, WordPress admin passwords and FTP passwords.
- Update WordPress, plugins and themes right away -- the hole that let the attacker in is still in the restored copy.
- Remove plugins and themes you don't use.
- Turn on two-factor authentication for cPanel.
Common questions
Will I lose emails that arrived after the backup?
With merge off, they can be overwritten. To protect new mail, either turn merge on, or remove Email Accounts from the items to restore and restore only the website parts.
The restore failed or seems stuck
Check the Queue page -- click the job to see the individual items. If something failed, or it has been processing for several hours, open a ticket and tell us the backup date you chose.
Can I undo a full restore?
Not directly. You can restore again from a different date, but anything that existed only between that backup and the restore is gone unless you saved a copy first.
Where are the backups kept?
Backups are stored off the server, so they're still there even if something goes wrong with your account. That's also why a restore takes a little while: JetBackup has to fetch the data first.
Related guides
- How Website Backups Work on Your Hosting Account (JetBackup 5)
- How to Restore a File or Folder with JetBackup 5
- How to Restore a MySQL Database with JetBackup 5
- How to Restore an Email Account with JetBackup 5
- How to Download a Copy of Your Website Backup (JetBackup 5)
Still stuck? Open a support ticket and the Instant Access Internet Services team will help.
