From 92f51f17dc9aa1ce6a33231a0acd290355ec5e1d Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 14 Aug 2023 16:44:02 +0300 Subject: [PATCH] add important detail in pitr.sh --- scripts/pitr.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/pitr.sh b/scripts/pitr.sh index f2605d819..0bd784c19 100755 --- a/scripts/pitr.sh +++ b/scripts/pitr.sh @@ -1,3 +1,5 @@ +change recovery_target_time in /etc/postgresql/15/main/postgresql.conf + systemctl stop postgresql@15-main mv /var/lib/postgresql/15/main/pg_wal /pg_wal rm -rf /var/lib/postgresql/15/main