Commit 520e6121 authored by Gabriel Mazetto's avatar Gabriel Mazetto

Improve `gitlab-ctl replicate-geo-database` additional opts documentation

parent faba2d7c
...@@ -395,7 +395,7 @@ data before running `pg_basebackup`. ...@@ -395,7 +395,7 @@ data before running `pg_basebackup`.
gitlab-ctl replicate-geo-database --slot-name=secondary_example --host=1.2.3.4 gitlab-ctl replicate-geo-database --slot-name=secondary_example --host=1.2.3.4
``` ```
When prompted, enter the password you set up for the `gitlab_replicator` When prompted, enter the _plaintext_ password you set up for the `gitlab_replicator`
user in the first step. user in the first step.
This command also takes a number of additional options. You can use `--help` This command also takes a number of additional options. You can use `--help`
...@@ -416,6 +416,8 @@ data before running `pg_basebackup`. ...@@ -416,6 +416,8 @@ data before running `pg_basebackup`.
replication slot automatically if it does not exist. replication slot automatically if it does not exist.
- If you're repurposing an old server into a Geo secondary, you'll need to - If you're repurposing an old server into a Geo secondary, you'll need to
add `--force` to the command line. add `--force` to the command line.
- When not in a production machine you can disable backup step if you
really sure this is what you want by adding `--skip-backup`
1. Verify that the secondary is configured correctly and that the primary is 1. Verify that the secondary is configured correctly and that the primary is
reachable: reachable:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment