Olivier Pichon
5e06e747d6
fix(mysq-backup-s3): remove unnecessary echo statement
4 years ago
Olivier Pichon
bd59ea05be
feat(mysql-backup-s3): install glibc and aws cli v2
4 years ago
Olivier Pichon
f4d04e6805
feat(mysql-backup-s3): add support for Docker secrets
Mysql password can be supplied via `MYSQL_PASSWORD_FILE` which points to a file containing the Mysql password. This would typically be `/run/secrets/mysql-password`, where `mysql-passwrd` is a Docker secret containing the password.
S3 secret access key can be supplied via `S3_SECRET_ACCESS_KEY_FILE`, which points to a file containing the secret access key. This would typically be `/run/secrets/s3-secret-access-key`, where `s3-secret-access-key` is a Docker secret containing the secret access key.
4 years ago
Rob Harrison
58e8830f1c
Added static filename to list of environment variable options
7 years ago
Olivier Cuypers
e110cb4ec9
Exclude sys & innodb databases on mysql-backup-s3
With the latest versions of MySQL there are new databases to exclude from bz
8 years ago
Marcus Stewart Hughes
4d3a3345b5
If an IAM role is present, don't export AWS credentials.
8 years ago
Rafael Amorim
30164d65c9
Remove hard aws credentials restriction
AWS Credentials are not always a requirement if you are using ECS as it supports IAM Roles for Tasks.
8 years ago
Fredo
3d0ed04f1e
Fix backup.sh for mysql-backup-s3
Fix a missing space which throw an error
```
backup.sh: line 47: syntax error: unexpected "then" (expecting "}")
```
8 years ago
Adam Engebretson
284be0ea4c
Adding support for custom S3 endpoint
8 years ago
Olivier Cuypers
68bd0dc4b5
Add MULTI_FILE env var
Kept full retro-compatibility
9 years ago
Olivier Cuypers
15f370ecca
Add the option to have 1 file per database
9 years ago
Teoh Han Hui
089952ad8e
Remove colon in time portion of archive filename
Still valid ISO8601 datetime
9 years ago
Johannes Schickling
ac4bb408a7
format
10 years ago
Johannes Schickling
721d07ffb9
fix env
10 years ago
Johannes Schickling
a082f3313c
mysql backup
10 years ago