From 2b6b6294abda54d4cf9363d63c479f9ed58b74ab Mon Sep 17 00:00:00 2001 From: Beth Skurrie Date: Wed, 23 Nov 2022 09:24:01 +1100 Subject: [PATCH] chore: add export database script [ci-skip] --- script/prod/export-database.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 script/prod/export-database.sh diff --git a/script/prod/export-database.sh b/script/prod/export-database.sh new file mode 100755 index 000000000..3bd26a50b --- /dev/null +++ b/script/prod/export-database.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +# fill in appropriate values for the database credentials + +export PGUSER="" +export PGPASSWORD="" +export PGHOST="" +export PGDATABASE="" + +pg_dump --no-acl --no-owner --file pact_broker.dump