A WordPress backup has two parts: the files (core, themes, plugins, uploads and wp-config.php) and the database (posts, pages, comments, settings). WordPress’s own documentation says you need both to fully restore a site; copying files alone doesn’t capture the database.
Which Method?
| Method | Pros | Watch out |
|---|---|---|
| Hosting panel (cPanel/Plesk) | Back up the whole account or files and database separately | Also keep a copy off the server |
| Backup plugin | Scheduled backups, cloud storage, easy migration | Free versions may have size or feature limits |
| Manual (phpMyAdmin + FTP) | No extra software, full control | More steps; slower for large sites |
1. Backing Up With cPanel
- Open Files > Backup or the Backup Wizard.
- Under partial backups, download the Home Directory backup (your site files).
- Download your site’s database from the MySQL Databases list; the name is in wp-config.php (
DB_NAME). - Keep both files together locally or in cloud storage.
2. Backing Up With a Plugin
- Install a backup plugin such as UpdraftPlus, Duplicator or All-in-One WP Migration from Plugins > Add New.
- Run its backup / export option; files and database are packaged together.
- Download the backup or send it to a supported cloud account.
- Set a schedule for automatic backups.
A .wpress file is All-in-One WP Migration’s backup format and is restored only from that plugin’s Import screen. Free-version size and feature limits vary by version; check the plugin’s current documentation for large sites.
3. Manual Backup (phpMyAdmin + FTP)
- Database first: in phpMyAdmin select the database, then Export > Format: SQL > Go.
- Then files: download everything in the site root (usually public_html) over FTP/SFTP, or compress the folder in cPanel File Manager and download one zip.
- Store the .sql file and the archive together in a dated folder.
With shell access you can also run wp db export backup.sql (WP-CLI). See WordPress database backup and recovery.
Restoring a Backup
| Backup type | Restore steps |
|---|---|
| cPanel partial backup | Use Restore a Home Directory Backup and Restore a MySQL Database Backup on the Backup page. |
| Plugin backup | Install the same plugin on a clean WordPress and use its Restore / Import screen (.wpress: All-in-One WP Migration > Import). |
| Manual backup | 1) Upload files over FTP. 2) Import the .sql into an empty database in phpMyAdmin. 3) Check the database name, user and password in wp-config.php. |
If you moved to a new domain, update old URLs in the database (siteurl, home and content links) with a plugin’s search-replace or wp search-replace. Re-saving Settings > Permalinks after a restore helps prevent 404 errors.
How Often and Where to Store Backups
- WordPress documentation suggests weekly backups for smaller sites and daily for very active sites, and always before updates or a move.
- Keep the last 3-5 backups in different places: server, cloud and your own computer.
- Test a restore in a staging environment now and then.
See also website backup methods and our WordPress hosting plans.
Frequently Asked Questions
Can I back up WordPress without a plugin?
Yes, with your hosting panel’s backup tools or manually with phpMyAdmin (database) and FTP (files).
Is backing up wp-content enough?
No. Posts and settings live in the database. Back up wp-content, the database and wp-config.php; core files can be downloaded again from wordpress.org.
I get “file too large” when restoring.
You are hitting PHP’s upload_max_filesize or post_max_size. Upload the file over FTP and restore from there, raise the limit in your panel, or import the database from the command line.
Categories
-
CentOS 7 guides
-
cPanel 20 guides
-
CyberPanel 18 guides
-
Operating Systems 81 guides
-
Juniper Networks 18 guides
-
Control Panels 50 guides
-
Linux 17 guides
-
MySQL 29 guides
-
Network 95 guides
-
Plesk Panel 12 guides
-
Virtual Servers 273 guides
-
SEO 3 guides
-
Cyber Security 8 guides
-
Technology 162 guides
-
VMware 36 guides
-
WordPress 20 guides
-
Artificial Intelligence 22 guides