How to use JetBackup to restore files, databases or emails
Deleted a file by mistake, broke your site with an update, or lost an email? This guide shows you how to use JetBackup in cPanel to restore files, databases or emails from EgWeb's automatic backups yourself, in a few minutes and without opening a ticket.
What is JetBackup?
JetBackup is a backup tool built into cPanel on EgWeb hosting. The server takes automatic backups of your account, and JetBackup lets you browse them by date and restore or download any part: the whole account, single files and folders, databases, email accounts, DNS zones, cron jobs and SSL certificates. How many days of backups are kept depends on the server and your plan, so check the dates that appear in your own account.
Open JetBackup
- Log in to cPanel (see How to log in to cPanel).
- Find the JetBackup section (the name may include a version, such as JetBackup 5).
- You will see options such as Full Account Backups, File Backups, Database Backups and Email Backups.
Restore files or folders
- Open File Backups.
- Pick a backup date from before the problem happened.
- Choose to restore the whole home directory or select only the files you need (JetBackup shows a file browser where you can tick specific files or folders such as
public_html/wp-content/uploads). - Click Restore and confirm. The job goes into the Queue; wait until its status is completed.
Restore a database
- Open Database Backups.
- Select the database (for example
user_wp123) and a backup date. - Click Restore and confirm.
The current database content is replaced with the backup. Any orders, posts or registrations made after that date will be lost, so note them first. For a WordPress site, restore the files and the database from the same date for the best result.
Restore emails
- Open Email Backups.
- Select the email account (for example
info@example.com) and a date. - Click Restore. Deleted messages from that backup return to the mailbox.
If you use IMAP, the restored messages appear in your mail app after it syncs. If you used POP3 and the messages were downloaded and deleted from the server before the backup, they will not be in the backup.
Download instead of restore
Every backup item also has a Download option. JetBackup prepares a compressed file and shows it in the queue with a download link. This is useful when you want a copy on your computer or want to move the site.
Tips
- Act quickly. Older backups rotate out, so restore as soon as you notice a problem.
- If your site was hacked, pick a date from before the infection, then change all passwords and update plugins. See How to Secure Your WordPress Website.
- After restoring WordPress, purge the cache and test in a private browser window.
Common problems
- No JetBackup icon: it may not be enabled for your plan or server. Contact support.
- The date I need is missing: backups older than the retention period are removed. Check whether you have your own copy; see How to back up and restore your website.
- Restore job failed: often caused by a full disk. Free some space and try again, or open a ticket with the job details.
Frequently asked questions
Does restoring with JetBackup cost anything?
Restoring from JetBackup inside cPanel is self-service. If you need our team to do a restore for you, ask support about your plan.
Can I restore just one email account without affecting the others?
Yes. Email backups are listed per account, so you restore only the mailbox you choose.
Will a restore delete files I added after the backup?
Usually no. A restore overwrites files that exist in the backup. New files that were not in the backup normally stay.