Database Backup: Free WordPress Tutorial
Master WordPress Database Protection and Recovery
WordPress sites store all content in databases. Without regular backups, you risk losing everything from posts and pages to user data and site configurations.
Learning Objectives
Plugin Installation
Learn to find, install, and activate the WP-DB-Backup plugin through the WordPress admin interface.
Backup Configuration
Configure backup settings, select tables, and choose download options for optimal protection.
Database Restoration
Use phpMyAdmin to restore databases from backup files when disaster strikes.
Exercise Workflow
Install WP-DB-Backup Plugin
Access WordPress admin, search for the plugin, and activate it for your site
Configure Backup Settings
Select tables to backup and choose download location for backup files
Test Backup Process
Make database changes and create a backup to verify functionality
Restore from Backup
Use phpMyAdmin to restore the database from the backup file
Local Development URLs
| Feature | Mac | Windows |
|---|---|---|
| WordPress Admin URL | localhost:8888/mrp/wp-admin | localhost/mrp/wp-admin |
| Server Environment | MAMP | XAMPP |
Installation Steps
Access the plugin repository from WordPress admin
Use exact plugin name for accurate results
Should appear at the top of search results
Required to enable backup functionality
Mac Restoration Process
Access MAMP Controls
Switch to MAMP application and open WebStart page
Open phpMyAdmin
Navigate to Tools > phpMyAdmin from the start page
Select Database
Choose 'mrp' from the database list on the left sidebar
Import Backup
Use Import tab to upload and restore the SQL backup file
In phpMyAdmin's left sidebar, select the mrp database from the available databases list.
Click the Import tab in the main interface area to access the database import functionality.

On the import screen, click the Choose File or Browse button to locate your backup file.
Navigate to your Downloads folder or wherever you saved the database backup file.
Select the backup SQL file you downloaded earlier. The filename follows the format mrp_wp_YYYYMMDD_###.SQL.gz, where the date and time indicate when the backup was created.
Click the Go button to begin the import process. phpMyAdmin will process the compressed SQL file and restore all database content.
- Once the import completes successfully, return to your WordPress admin panel:
- Mac: localhost:8888/mrp/wp-admin
- Windows: localhost/mrp/wp-admin
Navigate to Pages in the sidebar to verify the restoration. All your previously deleted pages should now be visible and fully functional—demonstrating the power of a reliable backup and restoration workflow.
Windows Restoration Checklist
Apache and MySQL must be active for database access
Access through Tools section on XAMPP start page
Ensure you're working with the correct WordPress database
Browse to Downloads folder and select the .SQL.gz file
Check WordPress admin to confirm pages are restored
Once imported successfully, all deleted pages should be restored and visible in your WordPress admin Pages section.
Key Takeaways
