EM Backup
Simple WordPress backup solution - database export and file backup with one click
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/iamthearsh/em-backup/archive/refs/heads/master.zip
Simple, reliable WordPress backup solution. One-click database and file backups.
✨ Features
- 🗃️ Database Backup - Full SQL export with GZIP compression
- 📁 Files Backup - Themes, plugins, uploads as ZIP
- ⬇️ Download Backups - Direct download from admin
- 🗑️ Manage History - Delete old backups easily
- 🔒 Secure Storage - Protected backup directory
- ⚡ One-Click - No configuration needed
📦 Installation
- Upload to
/wp-content/plugins/ - Activate plugin
- Go to Tools → EM Backup
- Click to backup!
📋 What's Backed Up
Database Backup
- All WordPress tables (posts, users, options, etc.)
- Custom plugin tables
- GZIP compressed for smaller size
Files Backup
/wp-content/themes//wp-content/plugins//wp-content/uploads/wp-config.php
🔒 Security
- Backups stored in protected directory
.htaccessblocks direct access- Only admins can create/download backups
⚙️ Requirements
- WordPress 5.0+
- PHP 7.2+
- ZipArchive PHP extension (for file backups)
- Writable
wp-contentdirectory
📁 Backup Location
Backups are stored in:
/wp-content/em-backups/
🛠️ Developer Notes
Custom Backup Directory
define('EM_BACKUP_DIR', '/custom/path/to/backups/');
Exclude Additional Directories
Edit the $excludeDirs array in backup_files() method.
⚠️ Important Notes
- Test backups by restoring on a staging site
- Large sites may timeout - increase PHP limits
- Files backup excludes cache directories
- Keep backups off-site for safety
📋 Browser Support
Tested with all modern browsers.
📄 License
GPL-2.0 - see LICENSE
👤 Author
Emrys - @iamthearsh
Made with ❤️ by Emrys