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.75.0 script/docker/db-restore.sh
pact_broker-2.74.1 script/docker/db-restore.sh
pact_broker-2.74.0 script/docker/db-restore.sh
pact_broker-2.73.0 script/docker/db-restore.sh
pact_broker-2.72.0 script/docker/db-restore.sh
pact_broker-2.71.0 script/docker/db-restore.sh
pact_broker-2.70.0 script/docker/db-restore.sh
pact_broker-2.69.0 script/docker/db-restore.sh
pact_broker-2.68.1 script/docker/db-restore.sh
pact_broker-2.68.0 script/docker/db-restore.sh
pact_broker-2.67.0 script/docker/db-restore.sh
pact_broker-2.66.0 script/docker/db-restore.sh
pact_broker-2.65.0 script/docker/db-restore.sh
pact_broker-2.64.0 script/docker/db-restore.sh
pact_broker-2.63.0 script/docker/db-restore.sh
pact_broker-2.62.0 script/docker/db-restore.sh
pact_broker-2.61.0 script/docker/db-restore.sh
pact_broker-2.60.1 script/docker/db-restore.sh
pact_broker-2.60.0 script/docker/db-restore.sh
pact_broker-2.59.2 script/docker/db-restore.sh