Sign inSign up

ykorzikowski/restore-pgsql-aws

By ykorzikowski

•Updated over 6 years ago

Image
0

1.1K

ykorzikowski/restore-pgsql-aws repository overview

https://docs.aws.amazon.com/de_de/cli/latest/userguide/cli-configure-envvars.html⁠

Set following environment variables:

S3='s3://mybucket/'
PGHOST='localhost:5432'
PGDATABASE='postgres'
PGUSER='postgres@postgres'
PGPASSWORD='password'
FILENAME='file' # the filename of the dumpfile

Copy dump from s3 to container and restore file

Tag summary

Content type

Image

Digest

Size

92.8 MB

Last updated

over 6 years ago

docker pull ykorzikowski/restore-pgsql-aws