From 84df67ae0e8b93ec9584b968d067ea89504fc7c5 Mon Sep 17 00:00:00 2001 From: Elliott Shugerman Date: Thu, 28 May 2020 23:21:48 -0600 Subject: [PATCH] don't use Python 2 --- README.md | 1 + src/install.sh | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 903bd73..465a6e6 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,7 @@ This project is a fork and re-structuring of schickling's [postgres-backup-s3](h ## Other changes - 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 - drop and re-create all database objects on restore - some env vars renamed or removed diff --git a/src/install.sh b/src/install.sh index 3ae5fbb..ec514b1 100644 --- a/src/install.sh +++ b/src/install.sh @@ -12,9 +12,8 @@ apk add postgresql-client apk add gnupg # install s3 tools -apk add python py-pip -pip install awscli -apk del py-pip +apk add python3 +pip3 install awscli # install go-cron apk add curl