diff --git a/scripts/pg2/restore.sh b/scripts/pg2/restore.sh index 6364632..cea27aa 100755 --- a/scripts/pg2/restore.sh +++ b/scripts/pg2/restore.sh @@ -5,5 +5,5 @@ cd "$(dirname "$0")/../../" docker-compose stop postgres2 rm -rf volumes/postgres2/ -docker-compose run --rm postgres2 sh -c '/wal-g backup-fetch $PGDATA LATEST; touch $PGDATA/recovery.signal' +docker-compose run --rm postgres2 sh -c '/wal-g backup-fetch $PGDATA LATEST; touch $PGDATA/recovery.signal; touch $PGDATA/standby.signal' docker-compose up -d postgres2 \ No newline at end of file