mirror of
https://github.com/garraflavatra/docker-volume-s3-backup.git
synced 2025-05-17 13:14:38 +00:00
add support for postgres v14, drop v9
This commit is contained in:
parent
8ef632ab84
commit
36d5b2888c
@ -25,7 +25,7 @@ pg_backup_s3:
|
|||||||
POSTGRES_USER: user
|
POSTGRES_USER: user
|
||||||
POSTGRES_PASSWORD: password
|
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.
|
- 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.
|
- 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
|
- Run `docker exec <container name> sh backup.sh` to trigger a backup ad-hoc
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
declare -A versions
|
declare -A versions
|
||||||
# VERSIONS[<postgres>]=<alpine>
|
# VERSIONS[<postgres>]=<alpine>
|
||||||
VERSIONS[9]=3.6
|
|
||||||
VERSIONS[10]=3.8
|
VERSIONS[10]=3.8
|
||||||
VERSIONS[11]=3.10
|
VERSIONS[11]=3.10
|
||||||
VERSIONS[12]=3.12
|
VERSIONS[12]=3.12
|
||||||
VERSIONS[13]=3.14
|
VERSIONS[13]=3.14
|
||||||
|
VERSIONS[14]=3.15
|
||||||
|
Loading…
x
Reference in New Issue
Block a user