This script is designed to backup any number of WordPress sites without the use of a plugin.
Features:
- Server Level Backups.
- Easy to intergrate RSync or FTP to transfer to remote server.
- Combines SQL Database and Only the WordPress files for easy restores.
- Can be set on a cron job.
You currently need two scripts downloaded to the server.
- WordPressBackup.sh
- Backup.profile
WordPressBackup.sh is the main script that does all the heavy lifting. Backup.profile is what tells the script which directory to backup and how long to keep those backups.
How to use:
- Download the script.
- Copy and Modify the backup.profile.
- Place backup.profile in the directory above your WordPress install or /home/username/
- chmod +x WordPress-Backup
- ./WordPress-Backup Depending on where you put your backup.profile you may need to modify the main script's FINDDIR.