How to Backup WordPress Properly: Plugins, Hosting Backups, Manual Methods, and Restore Testing

Backing up your WordPress site is insurance: when something breaks — hacked site, failed update, or host failure — a good backup gets you back online fast. This practical guide explains what to back up, how often, plugin and hosting options, manual backups via SFTP and phpMyAdmin, restore testing, offsite storage (Drive/S3), security, and checklists you can follow today.
What to back up (and why)
Always back up these three things:
- wp-content folder — themes, plugins, uploads (media), and user-generated files.
- WordPress database — site settings, posts, pages, users, and plugin data.
- Core files and configuration — wp-config.php, .htaccess and any custom code (helps with full site restores).
Why: wp-content + database are critical. Core files can be reinstalled from WordPress.org, but customizations and configuration require the files.
Backup frequency by site type
- Small brochure site (infrequent content changes): weekly or after updates.
- Active blog or content site: daily backups.
- E-commerce or transactional site: hourly or real-time incremental backups plus daily full backups.
- Membership or high-change sites: multiple hourly backups or continuous backups.
Choose frequency based on how much data you'd lose between backups (Recovery Point Objective).
Plugin-based backups (easy and automated)
Using a plugin is the simplest method for non-technical users. Popular reliable plugins include:
- UpdraftPlus (free + premium)
- BlogVault (managed backup + restore testing)
- Jetpack Backup (formerly VaultPress)
- Duplicator Pro (good for migrations and backups)
- BackupBuddy
Benefits: scheduled automatic backups, offsite destinations (Drive, Dropbox, Amazon S3), easy restores. Drawbacks: plugin conflicts, storage costs, and sometimes performance overhead.
How to set up an automatic WordPress backup plugin
- Install the plugin from Plugins > Add New.
- Go to the plugin settings and choose backup schedule (daily, weekly, hourly).
- Select storage destination (Dropbox, Google Drive, S3, or remote FTP).
- Run an initial backup; download a copy to your local machine.
- Test a restore in a staging environment (steps below).
Host-level backups (what hosts usually provide)
Most managed WordPress hosts offer backups (daily snapshots or incremental backups). They are convenient but vary in scope and retention.
- Advantage: automated, server-side, often included in plans.
- Disadvantage: backups stored on same infrastructure; may not protect against account-level compromises or host-wide disasters.
Always verify:
- How often backups are taken
- Retention period (7 days, 30 days, etc.)
- Whether backups include both files and database
- Whether you can download backups or restore to staging
For host backup details, consult host documentation and standards like the NIST Cybersecurity Framework for backup planning.
Manual backups (step-by-step) — non-technical language
Manual backups are essential for control. Two parts: files (SFTP) and database (phpMyAdmin).
A. Backup WordPress files via SFTP
- Install an SFTP client (FileZilla, Cyberduck).
- Get SFTP credentials from your host (host, port, username, password or SSH key).
- Connect and navigate to your WordPress root (public_html or www).
- Download the entire site folder to a local folder. Focus on wp-content, wp-config.php, .htaccess and any custom folders.
B. Backup WordPress database via phpMyAdmin
- Log into your host control panel (cPanel or similar) and open phpMyAdmin.
- Select the WordPress database from the left column.
- Click Export > Quick > SQL and save the .sql file.
C. Verify
- Open the .sql file in a text editor to check it completed (not necessary to read it all).
- Ensure file copies finished without errors.
Manual backup tips: compress files to .zip, timestamp filenames, and encrypt or store on an external disk.
How to backup WordPress to Dropbox or Google Drive
- Many plugins (UpdraftPlus, BackWPup) offer direct export to Google Drive or Dropbox.
- For manual uploads, upload your .zip and .sql files to Drive or Dropbox web interface.
- For Amazon S3, create an S3 bucket and use plugin credentials (Access Key, Secret Key) to upload automatically.
Security note: never store unencrypted backups in public or shared folders.
Comparison: Plugins vs Hosting vs Manual backups
Below is a quick comparison to help choose the right mix.
| Method | Ease of use | Frequency options | Offsite storage | Control & portability |
|---|---|---|---|---|
| Plugin (UpdraftPlus, BlogVault) | High | Hourly/Daily/Weekly | Yes (Drive, Dropbox, S3) | High (downloadable) |
| Hosting backups (managed host) | Very High | Daily / Snapshots | Usually on host infra | Medium (may be limited) |
| Manual (SFTP + phpMyAdmin) | Medium | Manual only | Depends on user | Very High (full control) |
| Managed backup service (BlogVault) | Very High | Continuous/Realtime | Yes | High (support & testing) |
Restore testing (critical section)
Testing restores is what separates good backup plans from wishful thinking.
Options for safe testing:
- Use your host’s staging environment to restore a backup copy.
- Create a subdomain or local environment (LocalWP, XAMPP) and restore there.
- Use a managed tool (BlogVault, UpdraftPlus premium) that offers one-click staging restores.
Step-by-step restore testing (staging):
- Make a fresh backup of the live site.
- Restore that backup to a staging site (ask your host if unsure).
- Inspect content, sign-in, media, and plugin functionality.
- Check permalinks: Settings > Permalinks > Save Changes.
- Run basic user journeys (checkout, login, post creation).
- Note any problems and correct them on a copy, not live.
How to test without a host staging feature:
- Restore files via SFTP to a subdomain folder and import the SQL via phpMyAdmin. Update wp-config.php DB credentials and run.
Offsite storage basics: Google Drive and Amazon S3
- Google Drive / Dropbox: easy, low cost, accessible. Use plugin integrations or manual upload. Good for small-to-medium sites.
- Amazon S3: scalable, robust, recommended for larger sites. Use lifecycle policies for retention and versioning. You'll configure a plugin with S3 access keys.
Security for cloud storage:
- Use unique credentials, enable MFA on Drive accounts, and restrict S3 bucket policies.
- Use encryption (at-rest or client-side) for sensitive backups.
For cloud security guidance, see Cloudflare Learning Center and OWASP.
Common failure cases and how to avoid them
- Failed scheduled tasks: Ensure WP-Cron is running or use server cron jobs; check plugin logs.
- Incomplete backups: Verify that the plugin backs up both files and database; test downloads.
- Storage full: Monitor offsite storage and log retention policies.
- Corrupted SQL files: Check export settings and re-export if file size is zero or truncated.
- Plugin compatibility: Test backups after major plugin updates.
Recommended backup schedule examples
- Static brochure site: Weekly backups, download monthly copy.
- News/blog with daily posts: Daily backups + weekly full copy stored offsite.
- WooCommerce/eCommerce: Hourly incremental + daily full backup, offsite to S3, immediate backups before major updates.
- Membership/site with frequent changes: Continuous or hourly backups, retain 30+ days.
Real-World Scenarios
Scenario 1: Broken plugin after update
A small magazine updated a plugin and the site returned a white screen. Their daily backup restored to a staging site, where they reverted the plugin. After confirming stability, they rolled the staged backup back to production and avoided hours of downtime.
Scenario 2: Host storage failure
An agency site host experienced storage corruption and lost recent snapshots. Because the agency kept nightly plugin backups to an S3 bucket, they restored the site with minimal data loss and switched to a host with better backup guarantees.
Scenario 3: Accidental data deletion
A contributor accidentally deleted several posts. The content team exported the database from a backup and restored the missing rows in a staging environment before re-importing to production safely.
Checklist
- Verify backup schedule (hourly/daily/weekly) based on site criticality
- Confirm backups include wp-content and the full database
- Ensure at least one offsite copy (Google Drive, Dropbox, S3, external disk)
- Test backup restore to staging every 1–3 months
- Encrypt or password-protect sensitive backups
- Document restore steps and store credentials securely
Backup checklist (action items)
- Install and configure a backup plugin or confirm host backups
- Set retention policy and offsite storage
- Run initial full backup and download a copy
- Document SFTP/DB credentials for restores
Restore checklist (action items)
- Make a fresh live backup before attempting changes
- Restore to staging for testing
- Verify media, permalinks, user accounts, and transactions
- Only restore to production after staging validation
Key Takeaways
Latest News & Trends
- Many hosts now include continuous backup snapshots as a standard for managed WordPress plans; consider hosts that allow downloadable snapshots.
- Increased adoption of immutable storage and versioning in cloud backups reduces accidental overwrites.
- Growing emphasis on automated restore testing as part of maintenance plans — automated health checks catch corrupt backups earlier.
For general web best practices and standards, see Google Search Central, MDN Web Docs, and W3C Web Accessibility Initiative.
FAQs
(See FAQ block below for quick answers to common questions.)
Final steps and recommended tools
- Plugins to consider: UpdraftPlus, BlogVault, Jetpack Backup, BackupBuddy, Duplicator Pro.
- Use server cron jobs or a reliable external scheduler for consistent backups.
- Keep backup credentials (S3 keys, Drive account) separate from admin accounts and enable MFA.
Additional resources
Common SOP example for a restore
- Notify stakeholders and take the site into maintenance mode.
- Create a live backup.
- Restore the chosen backup to staging and verify.
- If validated, restore to production during a low-traffic window.
- Run checks and remove maintenance mode.
About Prateeksha Web Design
Prateeksha Web Design builds secure, high-performance WordPress sites and provides automated backup, restore testing, and maintenance services to small businesses and agencies, combining hands-on technical processes with clear reporting to keep sites safe and available 24/7 monitoring and expert support.
Chat with us now Contact us today.