sandcastle-ng

Scripts for the deployment of Sandcastle (GNU Taler)
Log | Files | Refs | README

commit 23d617e6cb690ee787443fe3ff8e29038385654b
parent 0abecafbedc49b6bf79aafdedaedaf559f02e1e8
Author: Florian Dold <florian@dold.me>
Date:   Thu, 30 Oct 2025 13:49:14 +0100

drop cluster before restoring backup

Diffstat:
Mscripts/demo/setup-sandcastle.sh | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/scripts/demo/setup-sandcastle.sh b/scripts/demo/setup-sandcastle.sh @@ -453,6 +453,8 @@ if [[ $import_instr = singledump ]]; then echo "Requested import, but backup file does not exist" >&2 exit 1 fi + pg_dropcluster 17 main || true + pg_createcluster 17 main sudo -u postgres psql postgres -f "$backup_file" fi