To back up cPanel data, open the Backup tool, generate a full copy of the account (or only the parts that matter), download the file and store it outside your hosting account. To restore, use the same tool and upload the file back. It sounds simple, and it is, but that is exactly what separates a five-minute scare from a week of losses.
Remember that plugin update that takes down your homepage? Or that file you deleted by mistake? With a recent copy in hand, you can roll back without drama. In this guide you will see what to include, how to generate it, where to store it, how often to repeat it and how to restore it.
cPanel Backup: What It Is and Why to Do It Before You Need It
A backup is a copy of your website at a specific point in time. If something goes wrong later, you use that copy to return to the previous state. In cPanel, the Backup tool does this without requiring advanced technical knowledge.
The most common reasons you might need it are everyday situations:
- a theme or plugin update that breaks the layout;
- a file or email deleted by mistake;
- a site that was hacked or contains malicious code;
- an error while editing the database or the
.htaccessfile; - a major structural change that did not go as planned.
The rule is simple: a backup only helps if it exists before the problem. Once the error happens, it is too late to create the copy you wished you had.
What to Include in a Full Hosting Backup
A website is more than just “the files.” For a full hosting backup, think about four layers:
| Part | What it contains | Example |
|---|---|---|
| Files | The public_html folder and other directories |
Themes, plugins, uploads, images |
| Databases | MySQL tables | Posts, orders, WordPress users |
| Emails | Accounts, forwarders and filters | Professional mailboxes |
| Settings | Domains, subdomains, DNS, certificates | Account structure |
Full or Partial?
A full backup gathers all of this into a single file and is used to recover the account as a whole. A partial backup saves only one part, such as the files folder or a specific database. It is lighter and faster, ideal before a targeted change.
In practice, it is best to have both: a full backup from time to time and partial backups before changing anything.
How to Back Up cPanel Step by Step
Menu names may vary slightly depending on the cPanel theme, but the path is the same. If you do not yet have hosting with cPanel, website hosting with cPanel and free SSL comes with the panel ready to use, and the Website Hosting plan starts at R$ 11.90/month (in Brazilian reais).
Process overview:
- Log in to cPanel with your username and password.
- In the Files section, click Backup.
- Choose between generating a full backup or downloading specific parts.
- Set the destination and wait for the file to be ready.
- Download the copy and store it in a safe place.
Generate a Full Account Backup
- Inside Backup, look for the Generate a Full Backup button (or Download a Full Account Backup, depending on the version).
- Under Backup Destination, the simplest option is Home Directory, which saves the file in your account.
- Enter an email address to receive a completion notice, if you want.
- Click Generate Backup and wait. Larger sites usually take longer.
- When the file appears in the list of available backups, click it to download.
The result is a compressed file (usually .tar.gz) containing the entire account. Do not open or modify it: keep it as it is.
Download Partial Backups: Files, Databases and Emails
On the same screen, further down, you will find partial downloads:
- Home Directory backup: the account files, useful before editing a theme, code or folder structure.
- MySQL Databases: click the database name to download it. This is especially valuable for stores and blogs, where posts, orders and customer records are kept.
- Email Forwarders and Filters: store the redirection and filtering rules for your mailboxes.
A habit that helps: before updating plugins, download just the database and the files folder. It is quick and covers most mistakes.
Where to Store Copies So You Don’t Lose Them Along With the Site
A backup kept only on the same server as the site is not complete protection. If the account has a problem, you could lose the site and the copy together.
It is better to store copies outside your hosting:
- on your computer;
- on an external drive;
- in a cloud storage service.
Ideally, keep more than one copy in different locations. A good idea is to put the date in the file name (for example, site-2026-12-03) and delete only the oldest copies, always keeping a few recent versions.
How Often to Back Up Your Website
There is no magic number; it depends on how often your site changes. Think about how much work you would be willing to lose.
| Type of site | Suggested routine |
|---|---|
| Online store with daily orders | Frequent, with special attention to the database |
| Blog with weekly posts | One copy after each round of publishing |
| Corporate site that rarely changes | Periodic, plus one copy after every change |
Regardless of the type, make a backup before any major change: switching themes, updating WordPress, installing a new plugin, migrating servers or changing settings. If you are comparing plan options for a site that is growing, it is worth checking the Website Hosting page to see what fits your case.
How to Restore a Website Backup in cPanel
Knowing how to restore a website backup is half the value of having a copy. The cPanel Backup tool also handles the way back.
- Open Backup in cPanel.
- Scroll down to the Restore area.
- Choose what to restore: home directory, MySQL database or email forwarders and filters.
- Click Choose File, select the copy you downloaded and upload it.
- Wait for the confirmation message.
After restoring, check the essentials:
- Does the homepage load normally?
- Do images and internal links work?
- Does the site’s admin login (such as WordPress) work?
- Does the store record orders and does the cart work?
- Do emails send and receive?
Restoring an entire account from a full backup may depend on hosting permissions. If you have questions, support can guide you.
Restore Everything or Just One Part?
Whenever possible, restore only what broke. It is safer and avoids overwriting what is working.
- Deleted or changed a file? Restore only the files.
- Site data disappeared or looks wrong? Restore only the database.
- Lost email rules? Restore the forwarders and filters.
- The entire account is compromised? Then consider the full backup.
Warning: if you restore files from one date and the database from another, the site may behave strangely. Whenever possible, use copies taken at the same time.
Common Mistakes That Make a Backup Useless
- Never testing the restore. A corrupted copy only shows up when you need it. Test from time to time.
- Storing it only on the server. If the account goes down, the copy goes with it.
- Forgetting the database. Without it, a WordPress site or store comes back “empty.”
- Putting it off. The backup has to exist before the update, not after the error.
- Keeping only one copy. If it has a problem, you have no backup plan.
- Not labeling your files. Without a date in the name, it is easy to restore the wrong version.
When You Need Help and a More Complete Environment
Stuck during a restore or unsure which copy to use? HostMF’s 24/7 support in English and Portuguese can help, so you don’t have to risk overwriting something important.
And if your project is growing, with more traffic, several sites or a need for full server control, consider the options for VPS, cPanel hosting and reseller hosting. In larger environments, a backup routine becomes even more important.
The next step is simple: open cPanel today, generate a full backup and download a copy. If you want cPanel hosting with immediate activation and support in English and Portuguese, check out the HostMF plans.