Skip to Content
Shared hosting (cPanel)Using cPanelFiles and backups

Backup and restore in cPanel

Shared hosting plans include backups managed through JetBackup 5, so you can restore a file you deleted by mistake or a corrupted database yourself, without waiting for technical support. How long backups are kept depends on the plan, and it's listed in each plan's specifications on the Order a hosting plan page.

In the Files section of cPanel, you'll find two tools:

  • JetBackup 5: restore backups the system takes automatically, in full or in part, or download them.
  • Backup and Backup Wizard: create a manual backup of your account right now and download it to your computer.

Restore with JetBackup 5

In the Files section of cPanel, click JetBackup 5.

Choose the type of item you want to restore from the menu:

  • Full Account Backups: the entire account at once.
  • File Backups: specific files and folders from the home directory.
  • Database Backups: a specific database.
  • Email Backups: a specific mailbox.
  • Other types, such as Cron jobs, DNS records, and SSL certificates.

Choose the backup by its date. In File Backups, click Change Files Selection to browse the backup's contents and select only the files or folders you need.

Click Restore and confirm. Or click Download if you want a copy without replacing what's there now.

Follow the progress in the Queue section. When it's done, the status shows Completed.

Warning

Restoring replaces the current files or database with their version from the chosen date, and every change made after that date is lost. To restore a single file, restore just that file instead of the whole account, or download it and compare first.

Note

Section names may differ slightly depending on the JetBackup version. If you can't find the backup you need, open a support ticket linked to your service and say what you want restored and its approximate date.

Take a manual backup and download it

It's a good idea to take a backup yourself and keep it on your computer before any major change, such as updating WordPress, changing your theme, or moving your site.

In the Files section, click Backup.

Click Download a Full Account Backup.

Choose Home Directory as the destination, enter your email address to be notified when it's done, then click Generate Backup.

When it's complete, a backup-….tar.gz file appears on the same page. Click it to download it, then delete it from the server so it doesn't use up your account's space.

Note

The full backup you download is useful for archiving on your computer, but you can't restore it in full yourself from cPanel; restore its parts (files and databases) from the partial backup section, or use JetBackup 5.

Tips

  • Take a manual backup before any major update, and don't rely on a single backup.
  • Keep a copy of your important websites outside the hosting, on your computer or in a cloud storage service.
  • If your site runs on WordPress, you can also back up just the site from WP Toolkit before updating.

How is this guide?

On this page