What Belongs in a WordPress Backup Plan?
WordPress sites can change with every new post, comment, update, or uploaded image.
Because the database and site files together make up the site, losing either can disrupt the experience for visitors and the work of the people who manage it.
A reliable backup plan helps preserve both and makes recovery possible when something goes wrong.
Understanding what that plan needs to account for is an important part of managing a WordPress site.
What to Include in a WordPress Backup
A complete WordPress backup should include both your site’s files and its database. For this section, focus on the files you’ll need to restore your site’s appearance and functions. Include your active theme, child theme, plugins, and uploads, such as images, PDFs, and other media.
> Back up your themes, plugins, uploads, and any custom files to restore your WordPress site’s appearance and functionality.
Save WordPress core files too, especially if you’ve edited them, though you can usually replace standard core files with a fresh download.
Set your Backup scope
Your Backup scope should match your recovery priorities. If you need to restore a broken design quickly, keep a recent copy of your theme and custom code. If you publish often, back up uploads more frequently so new media isn’t lost.
Include configuration files, such as wp-config.php, and note that they contain sensitive settings. Store backups securely, and check that each archive opens before relying on it. Don’t assume every plugin needs separate backup files.
Back Up Your WordPress Database
Your WordPress database stores posts, pages, comments, settings, and other content your site needs to work. Back it up regularly so you can restore that information after a mistake, attack, or hosting problem.
Choose a schedule that matches how often your site changes. Daily backups suit busy sites, while weekly backups may work for quieter ones.
Make a usable database backup
- Use your host’s backup tool or a trusted backup plugin to export the database as an SQL file.
- Check that the export includes the Database table structure and its data, not just selected tables.
- Store a copy somewhere separate from your hosting account, such as secure cloud storage.
- Test your backup with a restore on a staging site, and confirm posts, settings, and comments appear correctly.
Keep query optimization and routine database cleanup separate from backup creation.
Save WordPress Core, Themes, and Plugins
Your backup should include WordPress core files, not just your database. Save your active theme and installed plugins too, so you can restore your site’s design and features.
Check that your backup copies these files regularly.
WordPress Core Files
Because WordPress core files, themes, and plugins control how your site runs, include them in your backup plan.
Back up WordPress core files
These files make up the WordPress core architecture, including the code that loads your dashboard and displays your site.
Save a clean copy of your installed core files so you can restore core file integrity after an update error, accidental change, or security issue. Don’t rely on a backup of your database alone, it won’t contain these files.
- Use your host’s backup tool or a trusted backup plugin to copy the WordPress files in your site’s root folder and the
wp-includesandwp-adminfolders. - Keep backups off-site, and schedule them before core updates.
- Test a restore on a staging site, not your live site.
Also record your WordPress version, so you know which files to restore.
Active Themes
Along with WordPress core files, back up the active theme’s files so you can restore your site’s layout and features if an update or edit causes problems. Include every theme file you’ve changed, especially custom templates, stylesheets, and images. Theme customization may live in the parent theme, but changes there can disappear when you update it. Use child themes for edits when possible, and back up both the child theme and its parent.
| Item | What to save | Why it matters |
|---|---|---|
| Stylesheets | Custom CSS | Restores colors and spacing |
| Templates | Edited PHP files | Preserves page layouts |
| Images | Theme graphics | Keeps visual details |
| Child theme | All its files | Protects custom changes |
Schedule backups before theme updates, and keep a recent copy off-site. Test the backup by restoring it to a staging site.
Installed Plugins
Back up every installed plugin, not just the ones you’ve customized, so you can restore the features your site relies on if an update or error causes problems.
Include plugin files and any plugin data stored in your database. A full-site backup usually captures both, but check your backup settings before relying on it.
If you use separate database and file backups, schedule them close together so they reflect the same site state.
Keep a list of active and inactive plugins, their versions, and where you obtained them. Record your update history, including recent changes that might explain a problem after restoration.
Save license details securely, too, since plugin licensing may affect access to downloads or updates. Don’t assume a backup preserves your license key or account access.
Test a restore occasionally, and confirm essential plugins work as expected.
Include Uploads and Other Site Files
Back up your media uploads, including images and documents in the wp-content/uploads folder. Include your theme and plugin files, especially any custom changes you’ve made.
Also save core configuration files, such as wp-config.php, in a secure location.
Media Uploads
Your WordPress backup should include the files in wp-content/uploads, where the site stores images, videos, and other media, as well as any other site files you’ve added or changed.
These files support your posts and pages, so back them up along with your database. If you restore the database without the media files, images may appear broken, and visitors could lose access to documents or videos.
Before backing up, check that your process captures the full uploads folder, including dated subfolders. Keep a copy outside your hosting account, such as on a separate drive or trusted cloud storage.
Test the backup by restoring a few files to a safe location.
Good Image organization and consistent upload naming can make files easier to find during recovery. Avoid deleting older uploads until you confirm they aren’t used on your site.
Theme and Plugin Files
Along with uploads, save the theme and plugin files in wp-content/themes and wp-content/plugins, including any changes you’ve made. Back up custom code, child themes, and any files you’ve edited, so you can restore the site without rebuilding your work.
Include inactive themes and plugins if you may need them again, but don’t keep outdated copies you won’t use. Before restoring, check Theme compatibility with your WordPress version and the versions of other components.
Keep a list of installed items and their versions; it helps you identify what to reinstall or update. Store purchase records and activation details securely, and review plugin licensing terms so you know what you can use on a restored site.
Test your backup by restoring the files to a staging site, then check key pages and features. Keep a recent copy off-site, too.
Core Configuration Files
Beyond themes and plugins, save the files that control how WordPress runs, including wp-config.php and any server rules in .htaccess. These server configuration files can affect database access, redirects, and security, so store them securely and include them in regular backups.
Keep a copy outside your hosting account, too.
- Protect credentials:
wp-config.phpcontains database details and keys. Restrict access to backup copies, and don’t share them in public folders. - Save uploads: Back up
wp-content/uploadsto preserve images, documents, and other media your posts rely on. - Include site files: Keep custom scripts, verification files, and other files added to your site. Skip temporary files you can recreate.
- Check recovery needs: Record any wp config safeguards or special server settings, then test that your backup includes these files and can be restored.
Review the file list after major site changes.
Save Key Settings and Recovery Details
A backup is only useful if you can restore the site and regain access to its key services. Keep a separate recovery record with the settings and contacts you’ll need when something goes wrong.
Record access and service details
List your WordPress Admin credentials, hosting account details, and the names of people who can approve account recovery. Store passwords in a password manager, not in an unprotected file beside your backup.
Note where your domain is registered, which provider manages your DNS records, and how to reach each provider’s support team. Include the site’s database name and any special connection settings, but don’t expose secret keys in plain text.
Write down email service settings, payment or security tools, and any license information tied to the site. Review this record after changes, test account recovery options, and make sure a trusted person can find the information securely.
Choose a Schedule and Backup Method
Set backups as often as your site changes, daily for busy stores or weekly for simpler sites.
Choose a secure storage location separate from your web host, such as cloud storage. Automate test restores so you know your backups can recover your site.
Set Backup Frequency
How often should you back up your WordPress site? Set a schedule based on how often your content and settings change. A quiet site may need weekly copies, while a busy store or news site needs more frequent backups.
Choose a method you can maintain, then check that it captures both files and your database.
- Weekly: Back up sites that rarely change, and review the schedule monthly.
- Daily Backups: Use these for active blogs, membership sites, or stores with regular orders.
- Real Time Backups: Choose these when losing even a few minutes of updates or transactions would cause problems.
- Test your routine: Run a backup, confirm it finishes, and practice restoring a recent copy.
Adjust frequency when your publishing pace changes. Keep backups consistent, and don’t rely on a schedule you won’t monitor.
Choose Storage Location
Choose a storage location that keeps your backups safe even if your website’s server fails. Don’t store your only copy on the same server as your WordPress site.
If a server problem affects both, you could lose your site and its backups together.
Cloud Storage is a practical choice for keeping files separate from your hosting account. You can also use a different server or an external drive stored securely away from your website.
These options provide Offsite Storage, so a hosting outage or account issue won’t affect every copy.
Keep at least one backup in a location you control, and limit access to trusted users. Protect storage accounts with strong, unique passwords and two-factor authentication.
Check your provider’s retention limits and storage costs, especially if you keep many large backups. Choose a location that fits your budget and recovery needs.
Automate Backup Testing
A backup only helps if you can restore it, so schedule regular tests alongside your backups. Choose a test frequency that matches how often you update your site. A busy store may need monthly checks, while a brochure site might need quarterly tests.
Use a staging site, not your live website, to avoid disrupting visitors.
- Set a recurring calendar reminder for each test, and assign someone to complete it.
- Restore a recent backup to staging using your host’s tools or your backup plugin.
- Check that pages load, images appear, and you can log in to WordPress.
- Test key features, such as forms or checkout, then record issues and fixes.
Backup validation confirms your files and database work together. Run recovery simulations after major site changes, too.
If a restore fails, adjust your process and test again. Don’t assume a success message proves recovery will work.
Store WordPress Backups in Multiple Places
Because one failure can affect more than one copy, store your WordPress backups in separate places. If your server and its attached storage fail together, a second copy on the same system may disappear too.
Store WordPress backups separately; a single server failure could erase multiple copies.
Keep one backup with your hosting provider, then send another to a separate cloud service or an office computer.
Choose separate storage locations
Use Redundant Storage Locations that don’t depend on the same account, device, or network. For example, pair your host’s backup storage with a cloud account, or keep a copy on an external drive stored away from your server.
These Offsite Backup Copies can help you recover if a local outage, hardware problem, or provider issue affects your main site.
Check that each destination receives complete files and database backups. Record where copies live and how to access them, so you can find the right one when needed.
Secure Backups and Set Retention Rules
Protect each backup with a unique, strong password and limit access to the people who need it. Use backup encryption to protect files while they’re stored and transferred. Keep encryption keys separate from the backups, so one exposed account can’t open everything. Set retention policies that match your site’s needs and any legal requirements.
- Keep daily backups for one week, giving you recent recovery points.
- Save weekly copies for a month to cover problems you discover later.
- Store monthly copies for several months, especially before major updates.
- Remove expired files securely, and check that automatic cleanup won’t erase every copy at once.
Adjust these time frames for your update schedule and storage limits. If your site changes several times a day, keep more frequent copies.
Write down who can access backups, where keys live, and when older files should be deleted. Review these rules whenever your site or team changes.
Test Your WordPress Backup
Once you’ve set your backup schedule and retention rules, test a copy to make sure you can restore it.
Regular restore tests confirm your backups work when you need them.
Use a staging site, not your live site, so tests won’t affect visitors or orders. Keep staging private and use the same WordPress version and key plugins as your production site.
- Choose a recent backup that includes your database and files. Note its date and size, then check that the archive opens without errors.
- Perform a staging restoration using your host’s tools or a trusted backup plugin. Watch for failed steps or missing files.
- Check the restored site: open several pages, sign in, and test forms or other key features. Confirm images and recent content appear.
- Record the result and any issues. Repeat integrity verification after changes to your backup process, and schedule tests regularly. Remove the staging copy when finished.
Restore Your WordPress Site From Backup
If your live site is down or damaged, restore it from a backup that predates the problem. A clear restoration workflow helps you avoid missing files or overwriting good data.
Before you begin, pause updates and note when the issue started.
- Choose a backup: Pick a tested copy from before the damage, and confirm it includes your database and site files.
- Prepare access: Check your hosting control panel or backup tool, and save a copy of the current damaged site if possible.
- Restore the data: Follow your host’s steps to restore files and the database together. Ask your host for help if you’re unsure.
- Check the site: Visit key pages, test forms and logins, and review links.
Good recovery planning also includes keeping backup access details and restore instructions where you can find them quickly.
Frequently Asked Questions
How Much Storage Space Does a Typical WordPress Backup Require?
A typical WordPress backup needs 1–5 GB, though media-heavy sites may require more. Your Typical Backup File Size depends on database and uploads; use Storage Needs Estimates based on site size, then allow room for several backup versions.
Can a Hosting Provider’s Backups Replace My Own Backup Plan?
No, your hosting provider’s backups shouldn’t replace your own plan. Keep backup ownership, store independent copies, and perform recovery testing; you’ll protect your site if provider backups expire, fail, or can’t restore everything you need.
Who Should Have Access to WordPress Backup Files?
Give WordPress backup access only to trusted administrators and essential recovery staff. Use role based access to limit permissions, and keep files in secure storage. Since 43% of websites run WordPress, protecting backups matters.
Should I Back up a Staging Site Separately From My Live Site?
Yes, back up your staging site separately. You’ll need distinct restore points to support staging-to-live deployment recovery and an isolated staging rollback strategy, without overwriting production data or losing recent live-site changes.
What Should I Do if a Backup Fails to Complete?
If a backup fails, Check backup logs to identify the cause, then Retry failed backup after fixing the issue. Confirm you have enough storage, check your connection, and verify the completed backup before relying on it.
- Database backups
- Disaster recovery
- WordPress backups
About the author
Vladimir Mrkela
Senior WordPress Developer
I’m a senior WordPress developer and co-founder of Pixel Industry. I’ve spent more than 12 years building websites, custom plugins, and integrations for all kinds of projects. I enjoy working on complex architecture, solving tricky problems, and sharing what I learn along the way.