kopia lustrzana https://github.com/kartoza/docker-postgis
remove incremental option
rodzic
6df08c994e
commit
795b5dc9f0
|
@ -508,7 +508,7 @@ function configure_replication_permissions {
|
||||||
}
|
}
|
||||||
|
|
||||||
function streaming_replication {
|
function streaming_replication {
|
||||||
until START_COMMAND "${PG_BASEBACKUP} -X stream -h ${REPLICATE_FROM} -p ${REPLICATE_PORT} -D ${DATADIR} -U ${REPLICATION_USER} --incremental -R -vP -w --label=gis_pg_custer"
|
until START_COMMAND "${PG_BASEBACKUP} -X stream -h ${REPLICATE_FROM} -p ${REPLICATE_PORT} -D ${DATADIR} -U ${REPLICATION_USER} -R -vP -w --label=gis_pg_custer"
|
||||||
do
|
do
|
||||||
echo -e "[Entrypoint] \e[1;31m Waiting for master to connect... \033[0m"
|
echo -e "[Entrypoint] \e[1;31m Waiting for master to connect... \033[0m"
|
||||||
sleep 1s
|
sleep 1s
|
||||||
|
|
Ładowanie…
Reference in New Issue