Sha256: b506d4feb30dbc74c9dba1f16ea29de7777412a37453e8c9f560bec39c10a6d2

Contents?: true

Size: 169 Bytes

Versions: 54

Compression:

Stored size: 169 Bytes

Contents

#!/bin/bash

: "${1:?Please specify file to restore}"

docker exec -it pact-broker-postgres pg_restore -h localhost -U postgres -d postgres --clean --if-exists /data/$1

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
pact_broker-2.89.1 script/docker/db-restore.sh
pact_broker-2.89.0 script/docker/db-restore.sh
pact_broker-2.88.0 script/docker/db-restore.sh
pact_broker-2.87.0 script/docker/db-restore.sh
pact_broker-2.86.0 script/docker/db-restore.sh
pact_broker-2.85.1 script/docker/db-restore.sh
pact_broker-2.85.0 script/docker/db-restore.sh
pact_broker-2.84.0 script/docker/db-restore.sh
pact_broker-2.83.0 script/docker/db-restore.sh
pact_broker-2.82.0 script/docker/db-restore.sh
pact_broker-2.81.0 script/docker/db-restore.sh
pact_broker-2.80.0 script/docker/db-restore.sh
pact_broker-2.79.1 script/docker/db-restore.sh
pact_broker-2.79.0 script/docker/db-restore.sh
pact_broker-2.78.1 script/docker/db-restore.sh
pact_broker-2.78.0 script/docker/db-restore.sh
pact_broker-2.77.0 script/docker/db-restore.sh
pact_broker-2.76.2 script/docker/db-restore.sh
pact_broker-2.76.1 script/docker/db-restore.sh
pact_broker-2.76.0 script/docker/db-restore.sh