mirror of
https://github.com/garraflavatra/docker-volume-s3-backup.git
synced 2025-05-17 13:14:38 +00:00
don't use Python 2
This commit is contained in:
parent
48eb1736aa
commit
84df67ae0e
@ -54,6 +54,7 @@ This project is a fork and re-structuring of schickling's [postgres-backup-s3](h
|
|||||||
|
|
||||||
## Other changes
|
## Other changes
|
||||||
- uses `pg_dump`'s `custom` format (see [docs](https://www.postgresql.org/docs/10/app-pgdump.html))
|
- uses `pg_dump`'s `custom` format (see [docs](https://www.postgresql.org/docs/10/app-pgdump.html))
|
||||||
|
- doesn't use Python 2
|
||||||
- backup blobs and all schemas by default
|
- backup blobs and all schemas by default
|
||||||
- drop and re-create all database objects on restore
|
- drop and re-create all database objects on restore
|
||||||
- some env vars renamed or removed
|
- some env vars renamed or removed
|
||||||
|
@ -12,9 +12,8 @@ apk add postgresql-client
|
|||||||
apk add gnupg
|
apk add gnupg
|
||||||
|
|
||||||
# install s3 tools
|
# install s3 tools
|
||||||
apk add python py-pip
|
apk add python3
|
||||||
pip install awscli
|
pip3 install awscli
|
||||||
apk del py-pip
|
|
||||||
|
|
||||||
# install go-cron
|
# install go-cron
|
||||||
apk add curl
|
apk add curl
|
||||||
|
Loading…
x
Reference in New Issue
Block a user