1
0
mirror of https://github.com/garraflavatra/docker-volume-s3-backup.git synced 2025-05-17 05:14:37 +00:00

add support for postgres v14, drop v9

This commit is contained in:
Elliott Shugerman 2021-12-07 22:25:39 -05:00
parent 8ef632ab84
commit 36d5b2888c
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ pg_backup_s3:
POSTGRES_USER: user
POSTGRES_PASSWORD: password
```
- Images are tagged by the major PostgreSQL version they support: `9`, `10`, `11`, `12`, or `13`.
- Images are tagged by the major PostgreSQL version they support: `10`, `11`, `12`, `13`, or `14`.
- The `SCHEDULE` variable determines backup frequency. See go-cron schedules documentation [here](http://godoc.org/github.com/robfig/cron#hdr-Predefined_schedules). Omit to run the backup immediately and then exit.
- If `PASSPHRASE` is provided, the backup will be encrypted using GPG.
- Run `docker exec <container name> sh backup.sh` to trigger a backup ad-hoc

View File

@ -1,7 +1,7 @@
declare -A versions
# VERSIONS[<postgres>]=<alpine>
VERSIONS[9]=3.6
VERSIONS[10]=3.8
VERSIONS[11]=3.10
VERSIONS[12]=3.12
VERSIONS[13]=3.14
VERSIONS[14]=3.15