Created
March 9, 2016 14:01
-
-
Save aherve/a31297eae75017339f0e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
backup: | |
image: tutum/dockup | |
volumes_from: | |
- data | |
environment: | |
- AWS_ACCESS_KEY_ID=<ACCESS_KEY> | |
- AWS_SECRET_ACCESS_KEY=<SECRET> | |
- AWS_DEFAULT_REGION=eu-west-1 | |
- BACKUP_NAME=my-blog-backup | |
- PATHS_TO_BACKUP=/var/lib/mysql /var/www/html/wp-content | |
- S3_BUCKET_NAME=wordpress-backups | |
- RESTORE=false | |
restore: | |
image: tutum/dockup | |
volumes_from: | |
- data | |
environment: | |
- AWS_ACCESS_KEY_ID=<ACCESS> | |
- AWS_SECRET_ACCESS_KEY=<SECRET> | |
- AWS_DEFAULT_REGION=eu-west-1 | |
- BACKUP_NAME=my-blog-backups | |
- PATHS_TO_BACKUP=/var/lib/mysql /var/www/html/wp-content | |
- S3_BUCKET_NAME=wordpress-backups | |
- RESTORE=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment