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