From b3c09c48bf6f37d3a1cfb8652819377dc5e9a304 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Wed, 20 Nov 2019 16:52:35 +0900 Subject: [PATCH] doc: document "tablespace_mapping" parameter. This was previously only mentioned in "repmgr.conf.sample". --- doc/cloning-standbys.xml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/doc/cloning-standbys.xml b/doc/cloning-standbys.xml index 2c54824c..163e2aa4 100644 --- a/doc/cloning-standbys.xml +++ b/doc/cloning-standbys.xml @@ -511,6 +511,34 @@ description = "Main cluster" cloning a node or executing . + + + + Tablespace mapping + + tablespace mapping + + + &repmgr; provides a configuration + file option, which will makes it possible to map the tablespace on the source node to + a different location on the local node. + + + To use this, add to repmgr.conf + like this: + + tablespace_mapping='/var/lib/pgsql/tblspc1=/data/pgsql/tblspc1' + + + + where the left-hand value represents the tablespace on the source node, + and the right-hand value represents the tablespace on the standby to be cloned. + + + This parameter can be provided multiple times. + + +