Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jesselawson/auto-backup-wordpress-to-s3
A bash script that automatically creates a backup of WordPress (DB+Files) and pushes a timestamped zip file into the Amazon S3 cloud. Just add cron!
https://github.com/jesselawson/auto-backup-wordpress-to-s3
Last synced: 14 days ago
JSON representation
A bash script that automatically creates a backup of WordPress (DB+Files) and pushes a timestamped zip file into the Amazon S3 cloud. Just add cron!
- Host: GitHub
- URL: https://github.com/jesselawson/auto-backup-wordpress-to-s3
- Owner: jesselawson
- License: gpl-2.0
- Created: 2014-03-30T03:48:27.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-05-25T22:09:53.000Z (over 10 years ago)
- Last Synced: 2024-10-04T21:36:36.012Z (about 1 month ago)
- Language: Shell
- Size: 254 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Auto backup WordPress to S3
===========================A bash script that automatically creates a backup of WordPress (DB+Files) and pushes a timestamped zip file into the Amazon S3 cloud. Just add cron!
**Please note** that this is built around the Nginx filesystem -- specifically, the Easy Engine filesystem. That being said, this will pretty much work with any type of filesystem schema as long as you pay attention to each line and change what is needed.
*Please modify this script before you use it!* This is not a plug-and-play script; you need to modify it to suit your filesystem schema and requirements.
# Installation
1. Put the `do-daily-backups.sh` file into some directory on your server, something like `/var/tools`
2. In terminal, edit your cron jobs with `crontab -e` and add a line to call this script once every morning around 1-3AM (sometime when you have the least amount of traffic).
3. Profit.