HUB
Sign inSign up
filebackup-lambda-s3 logo

clevyr/filebackup-lambda-s3

By clevyr

•Updated about 7 years ago

Image
0

10K+

clevyr/filebackup-lambda-s3 repository overview

⁠Python filebackup-lambda-s3

This is a Docker-compatible Python script to make backup of any and pushes it to an S3 bucket.

This is intended to be ran under fargate or a lambda function.

Use lambda if the total size is less than 256 MB due to disk limitations, otherwise use fargate.

Make sure the lambda or fargate container has IAM access to s3:PutObject and ses:SendEmail

⁠Environment Variables

VariableDetailsExample
IN_FOLDERthe folder to backup, usually a volume bind/data/in
BUCKET_NAMEThe S3 bucket to upload the backup toapp-dev-backups
SES_REGIONThe region that SES is working inus-east-1
EMAIL_FROMThe email address to send emails from[email protected]
EMAIL_TOThe list of email addresses to send to, separated by semicolons[email protected];[email protected]
Tag summary
Recent tags
Content type
Image
Digest
Size
48.2 MB
Last updated
about 7 years ago
docker pull clevyr/filebackup-lambda-s3:latest