01 / cPanel guidesUpdated 7 Nov 2026

How to back up and restore a cPanel account

cPanel makes two kinds of backup: a full account backup that only your host can restore, and partial backups of your files, databases and email settings that you can restore yourself. This guide shows how to make both on the Backup and Backup Wizard screens, how to restore them, and how to get files back from your host’s automatic backups.

Short answer

To back up a cPanel account, open Files » Backup, click Download a Full Account Backup, keep Home Directory as the destination and click Generate Backup, then download the file when it is ready. To restore files, a database, forwarders or filters yourself, upload a partial backup on the same screen with Choose File and Upload. Only your host can restore a full backup, in WHM.

Where
cPanel » Files » Backup, or Files » Backup Wizard
You need
A cPanel login and enough free disk quota for the backup file
Applies to
cPanel & WHM 134 (LTS) to 138, Jupiter theme
Full restore
Only your host, in WHM

What each backup contains

The cPanel Backup screen makes one full backup and four kinds of partial backup. The difference that matters most is who can restore each one.

BackupWhat it holdsWho can restore it
Full account backupThe home directory, databases, email settings, DNS zones and SSL certificates, in one .tar.gz fileOnly your host, in WHM
Home directoryEvery file you own in your home directory, including public_html and the mail in your mailboxesYou, in Backup or Backup Wizard
MySQL databaseOne database, as a compressed SQL fileYou
Email forwardersThe forwarders of one domainYou
Email filtersThe account-level filters from Email » Global Email FiltersYou
Your host’s backupsWhatever the host’s backup schedule includesYou, file by file, if the host enables File and Directory Restoration

Backup Wizard makes the same backups as the Backup screen, one step at a time. It only appears if your host’s server profile enables it, so if you cannot find Backup Wizard, use Backup.

Download a full account backup

  1. Log in to cPanel.
  2. In the Files section, click Backup.
  3. Under Full Backup, click Download a Full Account Backup. The Generate a Full Backup screen opens.
  4. In Backup Destination, keep Home Directory. Remote FTP Server, Remote FTP Server (passive mode transfer) and Secure Copy (SCP) send the file to another server instead, and cPanel recommends them for advanced users only.
  5. Enter your email address to get a message when the backup is finished, or select Do not send email notification of backup completion.
  6. Click Generate Backup.
  7. When the backup is finished, open Files » Backup again, click Download a Full Account Backup and click the file under Backups Available for Download.

The full backup’s file name starts with backup-, followed by the date, the time and your cPanel username, and ends in .tar.gz. Keep that name: WHM only restores account archives whose names follow formats like this one.

The Include integration links (may include external account credentials) option adds your links to outside services to the full backup. Leave it off unless you need those links, because the file can then hold their credentials.

NoteA full backup saved to Home Directory stays in your home directory and uses your disk quota. Download it, then delete it in File Manager.

Download a partial backup

Partial backups are the parts of a cPanel account you can restore yourself. They are on the same Files » Backup screen, under Partial Backups, and each one downloads straight to your computer.

  • Click Home Directory for all your files in one .tar.gz file. It holds public_html, the other folders in your home directory and the mail stored in your mailboxes, but no databases.
  • Click a database name under Databases to download that database.
  • Click a domain under Forwarders to download its email forwarders.
  • Click the name under System Filter Info to download the email filters. This file only holds the filters from Email » Global Email Filters, not the per-mailbox filters from Email » Email Filters.

A site with a database, such as WordPress, needs both a home directory backup and a database backup. Take the two at the same time, so the files and the data match.

Restore a partial backup

cPanel restores a partial backup from a file on your computer. The Backup screen has a restore option for each type: home directory, MySQL database, email forwarders and email filters.

  1. Open Files » Backup.
  2. Find the restore option for the type of file you have, for example the home directory or a MySQL database.
  3. Click Choose File and select the backup file on your computer.
  4. Click Upload. cPanel restores that part of the account.

In Files » Backup Wizard, click Restore, choose the type of backup, then use Choose File and Upload in the same way.

NoteA restore can overwrite what is there now. Download a fresh backup of the same part first, so you can go back if the older copy turns out to be the wrong one.

Restore a full backup

cPanel cannot restore a full account backup; only WHM can. Send the file to your host, or tell them where it is in your home directory, and ask them to restore it.

Your host restores a full backup in WHM » Transfers » Transfer or Restore a cPanel Account, either from a file already on the server (Restore from a local cpmove file) or by uploading it (Upload a file to restore). The server needs free disk space of at least twice the file’s size to unpack it. Backups from the host’s own schedule are restored in WHM » Backup » Backup Restoration instead.

To put back only your website from a full backup yourself, unpack the .tar.gz file on your computer. The site’s files are in homedir/public_html, and each database is an .sql file in the mysql folder. Upload the files with File Manager and import each database in phpMyAdmin.

Restore from your host’s automatic backups

If your host runs cPanel’s automatic backups, the Account Backups menu on Files » Backup lists them, and you can download a full copy from there. The menu only lists backups when the host has turned automatic backups on.

Files » File and Directory Restoration restores single files and folders from the host’s backups. The screen only appears when the host backs up user accounts in WHM » Backup » Backup Configuration and keeps the backups on the same server.

  1. Open Files » File and Directory Restoration.
  2. Under Files and Directories, choose Browse files and directories and click through to the file or folder, or choose Enter a path and type a path such as public_html.
  3. Click Show Backups. The available copies appear under Backups.
  4. Choose a backup and click Restore, then click Restore again to confirm.

NoteFile and Directory Restoration brings back deleted files and overwrites existing ones. It cannot restore the mail and .cpanel folders; those need a full account restore by your host.

Some hosts add their own backup tool to cPanel, such as JetBackup, with its own icon and schedule. Its screens differ from cPanel’s, so follow your host’s instructions for that tool.

Keep backups within your quota

  • A backup of an account near or over its disk quota may fail, because cPanel cannot write the files it needs, such as a database lock file.
  • Delete full backup files from your home directory once you have downloaded them.
  • Mailboxes are often the largest part of an account. Files » Disk Usage shows which folders use the most space.
  • To leave folders such as caches out of the full backup, create a file named cpbackup-exclude.conf in your home directory and list one path per line, relative to the home directory, for example public_html/wp-content/cache. The Home Directory partial backup ignores this file.

Common problems

There is no button to restore a full backup.
cPanel only restores partial backups; a full account backup can only be restored in WHM. Ask your host to restore it, or unpack the archive and upload the files and databases yourself.
The full backup fails or never finishes.
The account is usually near or over its disk quota, so cPanel cannot write the backup and the files it needs while packaging. Delete old backups and files you do not need, then try again. Large accounts also take a while, so wait for the notification email before starting another backup.
The backup is too large to download or to keep.
List caches and other folders you can rebuild in cpbackup-exclude.conf in your home directory, delete old backup files, or download the partial backups instead. Each partial backup is a separate, smaller file.
Backup or Backup Wizard is missing from cPanel.
Your host has not enabled the feature for your account, and Backup Wizard also depends on the host’s server profile. Use whichever of the two screens is there, or ask your host to enable it in WHM » Feature Manager.
File and Directory Restoration is missing or shows no backups.
The host does not back up user accounts in WHM, or does not keep those backups on the server, and the screen needs both. Ask your host for a restore, or restore from a home directory backup you downloaded yourself.
After a database restore, the site shows “Error establishing a database connection”.
A database backup holds the data, not the database user or its password. In Databases » Manage My Databases, check that the user exists and is added to the database, and that the site’s configuration file, such as wp-config.php, uses the same names and password.

Doing it from CTAServer

CTAServer’s Advanced Backup System backs up cPanel accounts with cPanel’s own tools. The CTAServer agent on the server runs /scripts/pkgacct for each account, which produces the same cpmove package WHM creates, with the account’s files, databases, email and settings, and restores it with restorepkg.

  • Destinations: ctabox (CTAServer’s storage), S3-compatible buckets on Amazon, Wasabi, Backblaze B2 or Cloudflare R2, Google Drive, Dropbox, another server, or a direct download.
  • Backups run on a schedule and keep the last 1 to 90 copies. A password can encrypt each backup with XChaCha20-Poly1305.
  • A restore goes to the original server or to another server with cPanel. Restoring or deleting a backup needs a one-time confirmation code.
  • Every backup is a full package; there are no incremental backups. A restore replaces the whole account, so CTAServer cannot put back a single file, database or mailbox.
  • CTAServer does not use or change the settings in WHM » Backup » Backup Configuration.
  • A downloaded package can also be restored by hand in WHM, in Transfer or Restore a cPanel Account.

Frequently asked questions

Does a cPanel full backup include emails and databases?

Yes. A full account backup holds the home directory, which contains the mail in your mailboxes, plus every MySQL database, the email settings such as forwarders and filters, the DNS zones and the SSL certificates. Only your host can restore it as a whole, in WHM.

How do I restore a cPanel backup?

Restore a partial backup yourself on Files » Backup: pick the restore option for the home directory, a database, forwarders or filters, then click Choose File and Upload. A full account backup can only be restored by your host, in WHM.

Where are cPanel backups stored?

A full backup you generate with Home Directory as the destination is saved in your home directory, as a backup- file ending in .tar.gz. Partial backups download straight to your computer. Your host’s automatic backups stay on the server, in /backup by default, or on remote storage the host chooses.

Can I schedule automatic backups in cPanel?

The cPanel Backup screen has no schedule; each backup starts when you click. Automatic backups are set by your host in WHM » Backup » Backup Configuration, daily, weekly or monthly, so ask your host what it keeps and for how long.

How do I restore a single file from a cPanel backup?

If your host enables it, open Files » File and Directory Restoration, find the file, click Show Backups, choose a copy and click Restore. Otherwise, unpack a home directory backup on your computer and upload the file with File Manager.

How do I move a cPanel account to another host?

Download a full account backup and give it to the new host, who restores it in WHM » Transfers » Transfer or Restore a cPanel Account. A host with root access to both servers can use WHM » Transfers » Transfer Tool instead. Then point the domain’s DNS to the new server.

02 / Get started7 days free · No card needed

Connect your first server today.

Free for 7 days, no card needed. Create your account, add your first server with an API token or an SSH key, and the panel starts filling in a few minutes later.

No setup fee · Cancel anytime · EU-hosted