Your hosting control panel can create a complete copy of your website (files, databases and email) and let you download it. It's the quickest way to keep your own backup, and it's worth doing before any big change.
This guide covers both cPanel and DirectAdmin, and how to restore.
Before you start
- Check your storage. A full backup is created inside your account before you download it, so you need some free space. If you're close to your limit, back up databases and files separately.
- Pick a quiet time. Large backups use server resources and can briefly slow a busy site.
- Know what you need. For most sites, files plus databases are the essentials. Email can be large. Include it if your mailboxes are hosted with your website.
Your host may already back up your account automatically. Your own downloads are an extra, off-site copy. See the 3-2-1 backup rule for websites.
Backing up in cPanel
Option 1: Full backup or home directory backup
- Log into cPanel.
- Open Backup (in the Files section).
- Under Partial Backups, click Download a Home Directory Backup. This contains your website files, email and configuration in your home folder.
- Under Download a MySQL Database Backup, click each database name to download it as a compressed
.sql.gzfile.
If a Full Account Backup option is available, it bundles everything, but it's designed for moving to another server rather than restoring individual items. For your own records, home directory plus databases is usually the most practical.
Option 2: Just the website folder
If you only want your site's files:
- Open File Manager.
- Right-click your site's folder (for example
public_html) and choose Compress. - Choose Zip or Tar/Gzip, and create the archive.
- Download the archive, then delete it from the server to free up space.
Back up the database separately, through Backup as above, or phpMyAdmin > Export.
Backing up in DirectAdmin
- Log into DirectAdmin.
- Open Create/Restore Backups (sometimes under Advanced Features or System Info & Files, depending on the theme).
- Choose what to include: domains (website files), email, databases and so on.
- Click Create Backup. You'll get a message when it's ready.
- Open File Manager, go to the backups folder, and download the archive.
- Delete the archive from the server once downloaded, to free up space.
To back up only a database, use phpMyAdmin, select the database, and choose Export.
Where to keep your downloads
- Somewhere outside your hosting account: your computer, an external drive, or cloud storage
- Clearly named, for example
yourdomain-2026-11-30-full.tar.gz - Protected, since backups contain passwords and customer data
Restoring from a backup
Ask your host
Often the simplest and safest option. Tell them:
- Which domain
- What needs restoring, for example "the whole site", "the WordPress database" or "the inbox for sales@"
- The date you'd like it restored from
A good host will confirm before overwriting anything.
Restore it yourself in cPanel with JetBackup
If you see JetBackup in cPanel, you can restore from your host's backups any time:
- Open JetBackup.
- Choose Full Account Backups, File Backups, Database Backups, Email Backups, DNS Backups or Cron Job Backups.
- Pick the backup date, then select what to restore, down to individual files or folders.
- Click Restore and confirm. Follow progress in Queue.
Careful: restoring overwrites the current version. If you're unsure, download a copy of the current version first.
Restore your own downloaded backup
- Files: upload the archive in File Manager and extract it into the right folder. Back up what's there first.
- Database (cPanel): in Backup, use Restore a MySQL Database Backup, or import the
.sqlfile in phpMyAdmin. - Database (DirectAdmin): import through phpMyAdmin, or use the restore option in MySQL Management if available.
- Full DirectAdmin backup: upload it to your backups folder and use Create/Restore Backups > Restore Backup.
Tips
- Always back up before: updates, redesigns, plugin changes, migrations and bulk edits.
- Test a restore on a staging site occasionally. See how to create a WordPress staging site.
- Don't leave backup archives in your public web folder.
- Clean out old archives so they don't fill your storage or inode allowance. See hosting resource limits explained.
Frequently asked questions
How big will my backup be?
Roughly the size of your website files, databases and email combined. You can see your usage on your control panel's home page. Email is often the largest part.
Can I restore a backup from another host?
Often, yes. Files and database exports are portable. Full account backups from the same control panel type can usually be restored too.
How long do host backups go back?
It varies, often one to two weeks. Keep your own copies if you might need anything older.
Should I back up before every plugin update?
For big updates, yes. For small ones on a simple site, a recent backup is usually enough.
The bottom line
In cPanel, use Backup to download your home directory and databases. In DirectAdmin, use Create/Restore Backups. Store the files somewhere safe, away from your hosting. To get something back, use JetBackup on cPanel if you have it, or ask your host.