From 57d3ee768c10628f16a374aefcccb577db8b3f30 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Mon, 21 Jan 2019 15:08:22 +0900 Subject: [PATCH] doc: clarify data directory requirement in quickstart guide --- doc/quickstart.sgml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/doc/quickstart.sgml b/doc/quickstart.sgml index c6c0fee8..f2a6be7e 100644 --- a/doc/quickstart.sgml +++ b/doc/quickstart.sgml @@ -201,11 +201,20 @@ Preparing the standby - On the standby, do not create a PostgreSQL instance, but do ensure the destination + On the standby, do not create a PostgreSQL instance (i.e. + do not execute initdb or any database creation + scripts provided by packages), but do ensure the destination data directory (and any other directories which you want PostgreSQL to use) exist and are owned by the postgres system user. Permissions must be set to 0700 (drwx------). + + + &repmgr; will place a copy of the primary's database files in this directory. + It will however refuse to run if a PostgreSQL instance has already been + created there. + + Check the primary database is reachable from the standby using psql: