EN · $ USD
Web Hosting and cPanel

How to Back Up and Restore a cPanel Account

7 min read Updated: Sunucu Atlas technical team

In short

You create cPanel backups with the Backup tool in the Files section. A full account backup is for migrations and disaster recovery, while home directory and MySQL database backups are for quick restores. Partial backups are restored from the same screen; restoring a full backup requires WHM. Always keep a copy of your backups in cloud storage that is separate from your hosting.

In this guide
  1. What backup types does cPanel offer?
  2. How to create a full account backup
  3. Backing up the home directory and databases
  4. Restoring from a backup
  5. Why store backups away from your hosting account?
  6. How often should you back up?
  7. Common problems when backing up and restoring
  8. Backup checklist
  9. Next step

Backing up a cPanel account takes a few clicks: from Files > Backup you can download a full account backup, a home directory backup or individual database backups. The hard part is not creating the backup but choosing the right type, actually testing a restore and keeping a copy somewhere other than your hosting account. This guide walks through all three steps.

What backup types does cPanel offer?

cPanel's Backup tool produces three different kinds of backup. Knowing which one to use and when saves time in a crisis.

Backup typeContentsWhen to use itRestore
Full account backup (Full Backup)Home directory, databases, email accounts, DNS zones, cPanel settingsAccount migration, disaster recovery, archivingThrough WHM (with provider or reseller access)
Home directory backup (Home Directory)All files, including public_html, and mail foldersLost files, a bad update, rolling back after malwareYourself, from cPanel
MySQL database backupA .sql.gz dump of a single databaseCorrupted data, accidentally deleted recordsYourself, from cPanel

You can also download small backup files for email forwarders and filters. For everyday use, the most practical pair is a home directory + database backup; the full backup is for migrations and long-term archiving.

How to create a full account backup

  1. Log in to cPanel and click Backup in the Files section.
  2. Click Download a Full Account Backup.
  3. Under Backup Destination, select Home Directory. There are also Remote FTP Server and SCP options, which send the backup straight to another server.
  4. Enter your email address to be notified when the job finishes, then click Generate Backup.
  5. When the backup is ready, a link in the format backup-AA.GG.YYYY_SS-DD-SS_kullaniciadi.tar.gz appears on the same page. Download the file to your computer.

Because the full backup is written to your home directory, it counts against your disk quota. After downloading it, delete the server copy in File Manager; otherwise the next backup may fill your quota, and the old backup file will also end up inside the next full backup.

Backing up the home directory and databases

The Partial Backups section of the same Backup screen has two links:

  • Download a Home Directory Backup: Click it and your home directory downloads directly as a compressed .tar.gz archive.
  • Download a MySQL Database Backup: Each database has its own link; the file downloads as veritabaniadi.sql.gz.

For large databases, or when you want to pick specific tables, phpMyAdmin is more flexible; see the guide to importing and exporting with phpMyAdmin for details.

Backing up from the command line over SSH

If your plan includes SSH access, running the same tasks as commands is faster and avoids browser timeouts on large files:

# Database backup (you will be prompted for the password)
mysqldump -u kullanici_db -p kullanici_veritabani | gzip > ~/db-$(date +%F).sql.gz

# Backup of the public_html folder
tar -czf ~/site-$(date +%F).tar.gz -C ~ public_html

Restoring from a backup

Restoring a home directory and database backup

  1. On the Backup screen, go to the Restore a Home Directory Backup section.
  2. Use Choose File to select the .tar.gz file on your computer and click Upload. Files in the archive overwrite existing ones; new files that are not in the archive are not deleted.
  3. For a database, go to Restore a MySQL Database Backup and upload the .sql.gz file. The file name must match the target database name; after the restore, check the database user's privileges on the MySQL Databases screen.

Take a backup of the current state right before restoring. If you upload a backup from the wrong date, that copy may be the only one that saves you.

Restoring a full backup

A full account backup cannot be restored from the cPanel interface; it requires WHM's Restore a Full Backup/cpmove File tool. So when you need to restore a full backup, keep the file ready and request the restore from your hosting provider through a support ticket. If you have a reseller account, you can also do it yourself in WHM.

Why store backups away from your hosting account?

A backup that lives only on the same hosting account is not really a backup. If the account is compromised, malware encrypts the files or the disk quota fills up and the backup is left incomplete, your backup is hit along with the live site. The widely accepted 3-2-1 rule spells it out: 3 copies of your data, on 2 different media, with 1 copy in a different location. For the full strategy, see the 3-2-1 backup rule guide.

The backup you download to your computer is your second medium, but laptops get lost and break too. For the third copy, Sunucu Atlas AtlasDrive cloud storage plans are a practical option:

  • Upload backup files from your browser with the Web File Manager, or send them over SFTP with clients such as FileZilla, WinSCP or Cyberduck.
  • Mount the storage as a network drive in Windows over WebDAV and copy backups by drag and drop.
  • Connections are encrypted with SSL, and the account is protected by two-factor authentication (2FA) and brute-force protection.
  • Your storage space is private and isolated; as your backup archive grows, you can upgrade your plan anywhere from 50 GB to 1 TB.

Sending a backup to the cloud with FileZilla

  1. In FileZilla, open File > Site Manager and add a new site.
  2. Select SFTP - SSH File Transfer Protocol as the protocol; get the server address and login details from your AtlasDrive service page.
  3. Once connected, create a dated folder in the cloud, such as yedekler/2026-12.
  4. Drag the downloaded .tar.gz and .sql.gz files from the left pane to the right pane.
  5. When the transfer finishes, check that the file sizes match the local copies.

If you need to hand a backup to a teammate or your agency, use AtlasDrive's encrypted, time-limited share links instead of emailing the file; the link expires automatically after the period you set.

If you want to send backups from a VDS to the cloud automatically, use the method in automated cloud backups with rclone; AtlasDrive works with rclone.

How often should you back up?

There is no hard rule; the deciding question is how many days of data you can afford to lose at most. The table below is a starting point:

Site typeDatabaseFilesFull backup
Business brochure siteWeekly and before every updateMonthlyMonthly
Blog / news siteDailyWeeklyMonthly
Ecommerce siteDaily or more oftenWeeklyWeekly

Always take a manual database + home directory backup before every plugin, theme or core update. That is exactly when most problems happen.

Common problems when backing up and restoring

The full backup never finishes

The most common cause is a full disk quota. The backup temporarily takes up space before it is compressed, so if your usage is above half your quota, the job may stop partway. Delete old backups, unneeded log files and cache folders, then try again. If the problem continues, download the home directory and database backups separately instead of a full backup.

The site will not load after a restore

  • Database connection error: Check that the database user is assigned to the database and that the password in the application's configuration file (wp-config.php for WordPress) is current.
  • 403 or 500 error: File permissions from the archive may be wrong. Folders usually need 755 and files 644.
  • Old content is showing: LiteSpeed Cache or another caching plugin may be serving old pages; clear the cache.

File size limit during upload

Uploading a very large home directory archive through the browser can time out. In that case, upload the archive to your home directory over FTP and unpack it with Extract in File Manager. An FTP client such as FileZilla is all you need.

Backup checklist

  • Test at least once a month that your backup opens: unpack the archive on your computer and check that the end of the .sql file is not cut off.
  • Name backup files by date and keep at least a few older versions; malware is often noticed days later.
  • Do not put backups you leave on the server inside public_html; a backup in a public folder means anyone can download your entire database.
  • Backups contain database passwords and files such as wp-config.php, so turn on 2FA for your cloud account.

Next step

A reliable backup routine has two parts: hosting that makes backups easy, and separate storage to keep them in. On our cPanel web hosting plans with NVMe storage, you can use every backup tool in this guide and keep copies of your backups in AtlasDrive cloud storage in Istanbul. As a first step, take a home directory and database backup today, upload it to the cloud and try a restore once.

Frequently asked questions

Can a cPanel full backup be restored from cPanel?

No. A full account backup can only be restored with WHM's restore tool. To restore on your own, use home directory and database backups, or ask your provider's support team to restore the full backup.

Why does a cPanel backup fill up my disk quota?

A full backup is written to your home directory and counts against your quota. Delete the server copy after downloading it; if old backups pile up, a new backup may fail to generate.

Is backing up only the WordPress database enough?

No. Posts live in the database, but uploaded images, themes and plugins are on the file system. Back up the home directory and the database together.

Where should I store my backups?

Keep at least one copy completely separate from your hosting account, for example in cloud storage with encrypted connections and 2FA. Keeping backups only on the same server does not protect you in a disaster.

A large database backup stops partway in the browser. What should I do?

If you have SSH access, back up with the mysqldump command; it is not affected by browser timeouts. Without SSH, you can export the tables in batches with phpMyAdmin.

For this guide

Recommended plans

Back up your site in one click on cPanel hosting plans, and keep an encrypted copy away from your hosting in AtlasDrive cloud storage with SFTP and WebDAV access.

SA-CP-1

cPanel
Recommended

20 GB NVMe disk

$0.39/mo

+VAT

  • Memory1 GB
  • LocationIstanbul
  • 1 Hosted Domains
  • 50 GB Traffic
  • 5 Email Account Limit
  • 2 Databases

SA-CP-2

cPanel

40 GB NVMe disk

$0.69/mo

+VAT

  • Processor2 cores
  • Memory2 GB
  • LocationIstanbul
  • 1 Hosted Domains
  • 100 GB Traffic
  • 10 Email Account Limit
  • 5 Databases

SA-CP-3

cPanel

60 GB NVMe disk

$0.98/mo

+VAT

  • Processor3 cores
  • Memory3 GB
  • LocationIstanbul
  • 1 Hosted Domains
  • 200 GB Traffic
  • 25 Email Account Limit
  • 10 Databases

Web Hosting — all plans Cloud Storage — tüm paketler

Need help with setup?

Send questions about your service in a support ticket, and our technical team will walk you through it step by step.