DEFINITIONS

Definitions More Info.
Definition ID12.104
TitlePOSTGRESQL
CategoryNOTES
Definitionpostgresql replication with pg_basebackup
Definition Description/* komut replikasyonu otomatik olarak olustrur.
--wal-method=stream xloglarin surekliligini saglar */

/* ikinci server tarafinda calistiracaksin bu komutu. IP birinci server IP */
pg_basebackup -h 172.28.1.168 -U replusr -p 5432 --wal-method=stream -P -R -c fast -D /storage/data/pgsql/14/data

/* devrim style */
/usr/pgsql-11/bin/pg_basebackup -D /storage/data/BlueCollar/pgsql/11/data -Fp -R -X stream -c fast -C -S isdbreplslt01 -h 172.20.1.49 -U replusr -P
RecordBycunay
Record Date07-09-2023 13:51:06
Düzenle
Kopyala
Sil