backup-wordpress
backup-wordpress copied to clipboard
Shell scripts to take remote (and local) backups of WordPress (database and files) to S3 compatible cloud storages via server cron.
I was curious if you had a recommended approach or script for a restore?
Offsite backup may fail for a number of reasons, such as... 1. AWS API changes. 2. Temporary (AWS) account suspension. Get notified on such things.
So, in the end, the backup script should simply be called wp-backup or backup-wp with the following options... wp-backup -d (or --database) (for db backups) wp-backup --db --files (or) wp-backup...
So, if local backups are created, they should be deleted after uploading to the remote location!
zip, gz, bzip, etc Also, add the ability to choose the compression method to the end-user! Default should be zip!
Use disk-usage-alert.sh script as a model!