A backup that only exists on the same server as your site will not help when that server fails, the account is suspended or the site is hacked. You need a copy you can download and keep somewhere else. This guide explains what a complete WordPress backup contains, four ways to download one, and how to check that it would actually restore.
What a Complete WordPress Backup Contains
- The database: posts, pages, comments, users, settings, orders and everything else you typed into WordPress. Without it, the files alone are an empty site.
- wp-content: uploads (images and files), themes and plugins.
- wp-config.php: database connection and security keys. Keep this file private.
- .htaccess (on Apache servers) and any other files you added to the root folder.
The WordPress core files (wp-admin, wp-includes) can be downloaded again from WordPress.org, but including them makes restoring simpler.
Method 1: With a Backup Plugin
The easiest way, and the only one that needs no technical knowledge. The free Site Backup plugin creates one standard ZIP with the database and the files, in short steps that finish even on shared hosting where big backup plugins time out.
- Install Site Backup and open it. It first shows how large the site is and what takes the space.
- Choose Full backup for a complete copy (or a smaller type such as content with compact media if space is tight).
- Start the backup and wait until it finishes; it continues in steps and resumes if interrupted.
- Click Download next to the finished backup and save the ZIP on your computer or cloud storage.
- Delete older copies from the server once they are downloaded, so backups do not fill your hosting space.
The ZIP opens with any unzip tool, so you can check its contents and use it without the plugin. A standalone restorer file can put it back, even on a new server or a new domain.
Method 2: From Your Hosting Control Panel
Most hosts make automatic backups. In cPanel, Backup or Backup Wizard lets you download a full account backup or the home directory and the databases separately; Plesk, DirectAdmin and custom panels have similar sections. Check how long the host keeps backups and whether they are stored on a different server. Host backups are a good extra layer, but they are often tied to the account: if the account is closed, they go with it.
Method 3: Manually with SFTP and phpMyAdmin
- Connect to the server with an SFTP client (such as FileZilla or Cyberduck) using the details from your host.
- Download the whole WordPress folder, or at least wp-content, wp-config.php and .htaccess. Large uploads folders can take a long time.
- Open phpMyAdmin from the hosting panel, select the site’s database (its name is in wp-config.php as DB_NAME), choose Export, quick method, SQL format, and download the file.
- Keep the files and the SQL export together, with the date in the folder name.
This always works and needs no plugin, but it is slow and easy to get wrong on large sites, for example when the database export times out.
Method 4: With WP-CLI Over SSH
If your host offers SSH access, two commands in the WordPress folder create a complete backup: wp db export backup.sql for the database, then an archive of the folder, for example tar -czf site-backup.tar.gz . (run it from the WordPress root). Download both with SFTP or scp and delete them from the server afterwards. Site Backup archives can also be restored with WP-CLI.
Check That Your Backup Works
- Open the archive and check that the database file is there and not empty, and that wp-content/uploads contains your images.
- Compare the size with the site size; a backup much smaller than expected usually stopped halfway.
- Once in a while, restore it to a staging site or a local copy. A backup you never tested is a hope, not a backup.
Where to Keep Backups and How Often
A common rule is 3-2-1: three copies, on two different kinds of storage, one of them off-site. For a WordPress site that can mean the live site, a downloaded copy on your computer and one in cloud storage. Back up before every larger update, and on a schedule that matches how often the content changes: daily for a busy shop, weekly for a site that changes monthly.
Why Backups Fail
- Timeouts on shared hosting. Building a large archive in one request hits the PHP time limit; the backup stops halfway, sometimes without an error. Backups that work in short, resumable steps avoid this.
- Not enough disk space for the archive next to the site. Check free space first, or exclude old backups and cache from the backup.
- Large single files such as videos or old archives make backups slow and huge. Exclude them, or store them elsewhere.
- Database export errors on very large tables. Clean old logs and transients first.
- Backups that never leave the server. They exist, but they disappear with the server.
Restoring From a Downloaded Backup
With Site Backup, upload the standalone restorer file and the ZIP to the new or emptied web space and open the restorer in a browser. It checks the archive, restores the files and the database, and can change the site address if you move to a new domain. With a manual backup, upload the files by SFTP, create an empty database, import the SQL file in phpMyAdmin and update the database details in wp-config.php. If the address changes, replace the old address in the database with a tool that handles serialized data.
Free Tools That Help
- Site Backup: Backups in small, resumable steps, with a size report and a standalone restorer.
- Disk Space Analyzer: What uses your hosting disk space: folders, logs, forgotten archives and thumbnails. Read-only.
Frequently Asked Questions
How do I download a WordPress backup without a plugin?
Download the files with SFTP and export the database in phpMyAdmin, or use your hosting panel’s backup section. Both are described above.
Can I download a backup from the WordPress dashboard?
Not with WordPress alone: Tools → Export only exports posts and pages as XML, without images, themes, plugins or settings. You need a backup plugin such as Site Backup for a full download.
How large is a WordPress backup?
About the size of the site: mostly the uploads folder plus the database. Disk Space Analyzer shows what takes the space before you back up.
Can I restore if WordPress no longer starts?
Yes, with the Site Backup restorer: upload it with the ZIP and open it in the browser. It checks the archive, restores files and database, and can change the site address.
How often should I back up a WordPress site?
As often as you could not afford to lose the changes: daily for shops and busy sites, weekly for sites that change rarely, and always right before updating WordPress, the theme or major plugins.
Should my backup include older backups and the cache?
No. Exclude backup folders, cache folders and log files; they make the archive larger and slower without adding anything you need to restore the site.
Is a host backup enough?
It is a good extra layer, but keep your own downloaded copy too. Host backups are usually tied to the account and kept for a limited time.