Backup your Docker volumes to Amazon S3 on a pre-defined cron schedule.
7.1K
This image is an always-on solution to automatically back up mounted volumes to Amazon S3.
Variables without default are required.
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
AWS_DEFAULT_REGION
DIR_BACKUP
DIR_MOUNT
CREATE_LATEST
false/latest folder at your S3_PATH, with your most recent backups.CRON
0 0 * * * (Daily, midnight)EXCLUDE
RECURSIVE
falseDIR_MOUNT into separate zip files.S3_PATH
s3://my-bucket/path/to/backupsTZ
{
"Version":"2012-10-17",
"Statement":[
{
"Effect":"Allow",
"Action":[
"s3:ListAllMyBuckets"
],
"Resource":"arn:aws:s3:::*"
},
{
"Effect":"Allow",
"Action":[
"s3:ListBucket",
"s3:GetBucketLocation"
],
"Resource":"arn:aws:s3:::examplebucket"
},
{
"Effect":"Allow",
"Action":[
"s3:PutObject"
],
"Resource":"arn:aws:s3:::examplebucket/*"
}
]
}
Content type
Image
Digest
sha256:9abb66ab5…
Size
126 MB
Last updated
about 2 years ago
docker pull aaronfagan/backups-s3