Security

How to Back Up Your Website Using cPanel Backup Tools

by dotCanada Team
How to Back Up Your Website Using cPanel Backup Tools

Every website owner has a backup story - either one about a backup that saved the day, or one about a disaster that could have been prevented with a backup. Hard drives fail. Plugins conflict and break things. Hackers occasionally succeed. A hosting account from years ago gets misconfigured. Whatever the cause, having a recent, complete backup of your website transforms a potential catastrophe into a manageable inconvenience. This guide walks you through cPanel's backup tools so you are prepared before you need to be.

Understanding What Needs to Be Backed Up

A complete website backup consists of three parts:

  1. Website files - all the HTML, PHP, CSS, JavaScript, images, and other files in your public_html folder
  2. Databases - the MySQL databases that power your dynamic content (especially critical for WordPress and other CMS platforms)
  3. Email data - if you store email on the server and want to preserve your inbox history

cPanel's backup tools handle all three. You can back up your entire account at once or individual components separately.

cPanel Backup vs. Backup Wizard

cPanel offers two backup interfaces:

  • Backup: The full-featured tool with options for full or partial backups
  • Backup Wizard: A guided, step-by-step version of the same functionality, ideal for beginners

Both are found under the Files section in cPanel. The Backup Wizard is a great starting point if you are new to backups.

Creating a Full Account Backup

A full backup creates a compressed archive of your entire hosting account - files, databases, email, and configuration settings - in a single file.

  1. In cPanel, go to Files > Backup
  2. Under "Full Backup," click Download a Full Website Backup
  3. Choose a backup destination:
    • Home Directory - saves the backup to your hosting account (convenient but uses disk space)
    • Remote FTP Server - sends the backup to an external FTP server
    • Remote FTP Server (Passive Mode Transfer) - use this if normal FTP does not work through a firewall
    • Secure Copy (SCP) - for secure transfer to a remote server
  4. Enter your email address to be notified when the backup is complete
  5. Click Generate Backup

For most users, saving to the Home Directory is easiest. Once the backup is complete, download it to your local computer and then delete the copy from the server to free up disk space. Do not rely on keeping your backup on the same server as your live website - if the server has a problem, you lose both.

Creating Partial Backups

For faster, more targeted backups, cPanel lets you back up individual components:

Home Directory (files only): Under the Backups section, click Download a Home Directory Backup. This creates a .tar.gz archive of all your files, excluding databases.

MySQL Databases: Click Download a MySQL Database Backup, then click the database name you want to download. Each database downloads as a .gz compressed SQL file. Download one for each database you use.

Email Forwarders and Filters: These configuration backups are also available if you want to preserve your email routing rules.

Partial backups are useful for quick snapshots before making a specific change (like updating a plugin or modifying a configuration file).

Restoring from a Backup

If you need to restore your website from a backup:

Restoring files:

  1. In cPanel, go to Files > Backup
  2. Under "Restore a Home Directory Backup," click Choose File, select your .tar.gz backup file, and click Upload

Restoring a database:

  1. Under "Restore a MySQL Database Backup," click Choose File, select your .sql.gz database backup file, and click Upload
  2. Confirm the database to restore to

Important: Restoring overwrites existing data. If you are restoring to fix a problem, make sure you understand what you are replacing before you proceed.

Setting Up Automated Backups

Manual backups are better than nothing, but automated backups are far more reliable because they happen consistently without depending on you to remember.

Automated backups through your hosting provider: dotCanada performs regular automated backups of all hosting accounts. Check your plan details to understand the frequency and retention period of these backups. However, hosting provider backups should be treated as a safety net, not your primary backup strategy. You should always maintain your own independent backups.

Automated backups via WordPress plugins: If your site runs WordPress, plugins like UpdraftPlus or BackWPup can be configured to run automated backups on a schedule and send them to a remote destination - a Google Drive, Dropbox, Amazon S3 bucket, or your own FTP server. This is highly recommended and adds a completely independent backup layer.

Backup Best Practices

  • Follow the 3-2-1 rule: Keep 3 copies of your data, on 2 different types of storage, with 1 copy offsite (or in the cloud)
  • Test your backups: Periodically restore a backup to a staging environment to confirm it works. A backup you cannot restore from is worthless.
  • Back up before making major changes: Always create a fresh backup before updating WordPress, installing a new plugin, or editing theme files
  • Keep multiple generations: Do not just keep the most recent backup - keep several so you can go back to a point before a problem occurred
  • Store backups offsite: Do not keep backups only on your hosting server

At dotCanada, we perform regular server-level backups to protect your data, and all of our cPanel hosting plans give you access to the full suite of backup tools described above. Our support team can also help you restore a backup if you ever need it. Your website represents real work and real value - protect it with a solid backup strategy.

100% Satisfaction Guarantee

We're so confident you'll love dotCanada that we offer a 30-day money-back guarantee. Not satisfied? Get a full refund, no questions asked.

Ready to Get Started?

Join thousands of Canadian website owners who trust dotCanada for reliable, fast web hosting.

Get Started Today