forked from MarseyWorld/MarseyWorld
add important detail in pitr.sh
parent
1257cb8fce
commit
92f51f17dc
|
@ -1,3 +1,5 @@
|
||||||
|
change recovery_target_time in /etc/postgresql/15/main/postgresql.conf
|
||||||
|
|
||||||
systemctl stop postgresql@15-main
|
systemctl stop postgresql@15-main
|
||||||
mv /var/lib/postgresql/15/main/pg_wal /pg_wal
|
mv /var/lib/postgresql/15/main/pg_wal /pg_wal
|
||||||
rm -rf /var/lib/postgresql/15/main
|
rm -rf /var/lib/postgresql/15/main
|
||||||
|
|
Loading…
Reference in New Issue