Test a website backup before you need it
Restore a copy in a separate environment and check files, database and application behavior.
Read the guideWeb hosting · Practical guide
Make a useful website backup, store it privately and check what you would need to restore.
Archive placement: February 2022

Back up both the website files and its database, keep a copy outside the hosting account, and test that the pair can be restored. This guide uses cPanel, Backup Wizard, File Manager and phpMyAdmin so you can follow it without command-line access.
Include the public files, uploaded media, database and private application configuration. Note the PHP or application version, scheduled tasks and any external services. Keep email backups separate if your mailboxes are part of the move or recovery plan.
For a site accepting orders or other writes, plan a consistent backup. Files and a database copied at different moments may not describe the same state. Use an application-aware method or a brief maintenance window where appropriate.
Open cPanel → Files → Backup Wizard → Back Up. For a portable website copy, download the Home Directory backup and the MySQL database backup for each database the site uses. If you are unsure which database belongs to the application, check its configuration privately; do not publish the configuration file or send its password in a ticket.
The home-directory copy can include more than the website, including mail and private files, so treat it as sensitive. Record the domain, document root, database name and backup time alongside the files. A full account backup is also useful, but restoring a full backup normally requires the hosting provider/WHM; cPanel’s partial restore options are different.
Wait until backup generation finishes and confirm the download completes. A link or completion email is not the backup itself. Check the file size on your computer and keep the original archive unchanged so you have a clear recovery copy.
Backup Wizard is usually the simplest account backup route. If you also want an archive of one website, File Manager lets you select its document root without including every other site in the account.
Check the archive opens and contains recognisable files. A file archive alone does not contain the database used by WordPress, a shop or another database-driven application. Delete temporary server archives after you have verified the independent copy.
Take the database copy in the same maintenance window as the files. For a busy shop, use the application’s maintenance process so new orders do not arrive between the two backups.
Wait for the download to complete and make sure the SQL file is not empty. If export fails or the database is too large for the browser workflow, ask support for a suitable backup method. Do not save a database export in a public website folder.
A useful backup is a named set of matching files and database data, not an assortment of downloads whose dates are unclear.
Full account backups can contain mail and private account data. A full backup normally needs the hosting provider to perform a complete account restore; downloading it does not add a one-click full-restore button to ordinary cPanel.
Check that the export completed without errors, that the files are present and that you can read the archive. Keep a copy outside the original server, with access limited to the people who need it. A backup in the same account can disappear with that account.
Test a restore in a separate environment. Record the backup date and what was included, then set a schedule that matches how often the site changes. Weekly copies may be too old for a store taking new orders every day.
A completed download is worth checking, but only a restore test shows whether you can recover the working website.
Weekly included hosting backups are useful, but keep your own current copy for an important change. Check the available restore points and retention rather than assuming a scheduled backup includes every external service.
Not by itself. WordPress normally stores posts, settings and orders in its database, while uploads, themes and plugins live in files. Keep a matching copy of both.
Ordinary cPanel can restore supported partial backups, but a complete account restore normally requires the hosting provider. Ask which restore method applies to the backup you have before changing the live account.