Sha256: d747798f1e0c28e3bebb3b71e49bc452052d8b31213927094d7cbd43e4ca7adb
Contents?: true
Size: 261 Bytes
Versions: 11
Compression:
Stored size: 261 Bytes
Contents
#!/bin/bash PGPASSWORD="mysecretpassword" sudo docker run -it --link postgrestest_app_1:postgres --rm -e PGPASSWORD=$PGPASSWORD postgres /bin/bash -c 'pg_dumpall -h "$POSTGRES_PORT_5432_TCP_ADDR" -p "$POSTGRES_PORT_5432_TCP_PORT" -U postgres' > $1/backup.sql
Version data entries
11 entries across 11 versions & 1 rubygems