From d0e69326415f3b16271f8fb2626e476d679ce293 Mon Sep 17 00:00:00 2001 From: erthalion <9erthalion6@gmail.com> Date: Mon, 4 Jun 2018 15:36:17 +0200 Subject: [PATCH] Adjustments for clone section --- docs/user.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/user.md b/docs/user.md index 108780d56..3e5919d29 100644 --- a/docs/user.md +++ b/docs/user.md @@ -189,7 +189,7 @@ section in the spec. There are two options here: * Clone directly from a source cluster using `pg_basebackup` -* Clone from an S3 bucket +* Clone from S3 bucket ### Clone directly @@ -206,7 +206,10 @@ spec: Here `cluster` is a name of a source cluster that is going to be cloned. The cluster to clone is assumed to be running and the clone procedure invokes -`pg_basebackup` from it. +`pg_basebackup` from it. The operator will connect to the service by name (if +the cluster is called test, then the connection string will look like host=test +port=5432), which means that you can clone only from clusters running in the +default namespace. ### Clone from S3 @@ -224,7 +227,7 @@ spec: ``` Here `cluster` is a name of a source cluster that is going to be cloned. A new -cluster will be cloned from an S3, using the latest backup before the +cluster will be cloned from S3, using the latest backup before the `timestamp`. In this case, `uid` field is also mandatory - operator will use it to find a correct key inside an S3 bucket. You can find this field from metadata of a source cluster: