A backup is the only reliable way to put your site back within minutes when something goes wrong. This guide shows how to create backups with cPanel's built-in Backup tool and how to restore files and databases.
Before you start
- Voligen hosting plans include free backups. For how often server-side backups run and how long they are kept, check your service details or ask support.
- A manual backup taken right before a big update, theme change or migration is always the most current one.
- A full backup file uses your disk quota; make sure you have enough free space.
Backup types
| Type | Contents | When to use |
|---|---|---|
| Full account backup | Files, databases, email, DNS and account settings | Archiving or moving to another server |
| Home directory backup | All files and mailboxes | Restoring files yourself |
| MySQL database backup | One database (.sql.gz) | A quick backup before updates |
| Email forwarders and filters | Forwarding and filter rules | Keeping your email configuration |
Creating and restoring backups
- In cPanel, click Backup in the Files section.
- Under Partial Backups, click what you want to download: the Home Directory button downloads your files, and each database name downloads that database as a separate file. For a full backup, click Download a Full Account Backup, choose Home Directory as the destination, enter an email address for the completion notice and click Generate Backup.
- To restore, use Restore a Home Directory Backup or Restore a MySQL Database backup on the same page: choose the file and click Upload.
A full account backup is saved in your home directory as backup-...tar.gz. Download it, then delete it from the server; otherwise it fills your quota and gets included in the next full backup.
Restoring a full backup
cPanel's own interface cannot restore a full account backup; a server administrator does that. If you need a full restore, upload the backup file to your home directory and open a ticket from the client area. If you only need files or a single database, the partial restore above is enough.
A restore overwrites existing files and databases. Back up the current state first, so you can go back if you pick the wrong backup.
A good backup routine
- 3-2-1 rule: at least 3 copies, on 2 different media, 1 off the server. Besides server backups, keep a copy on your computer or in cloud storage.
- Before changes: back up files and the database before plugin, theme or PHP version updates.
- Test: now and then, open a backup archive and check that the files and the
.sqlfile are intact.
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| The full backup email never arrives | Large accounts take a long time | Wait a while and check whether the file has appeared in your home directory. |
| Backup cannot be created | Disk quota full | Delete old backups and unneeded files. |
| Database restore fails | File corrupt or too large | Try importing it with phpMyAdmin, or open a ticket. |
Frequently asked questions
Does Voligen take backups for me?
Yes, plans include free backups. We still recommend your own backup before critical changes, so you always hold the latest state.
Can I restore a single file?
Yes. Extract the home directory backup on your computer and upload that file again with File Manager or FTP.
Can I use the backup to move to another provider?
A cPanel full backup is the standard format for moving to another cPanel server. You can use it when moving to us, too.
Need help with a restore? Open a ticket from the client area. Plans with backups included: Linux web hosting.