Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
45a20be8
Commit
45a20be8
authored
Jan 31, 2018
by
Valery Sizov
Committed by
Achilleas Pipinellis
Jan 31, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Geo doc] Keep in mind multiple secondaries when setup database replication
parent
6087548f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
doc/gitlab-geo/database.md
doc/gitlab-geo/database.md
+2
-1
No files found.
doc/gitlab-geo/database.md
View file @
45a20be8
...
@@ -387,7 +387,8 @@ data before running `pg_basebackup`.
...
@@ -387,7 +387,8 @@ data before running `pg_basebackup`.
name as shown in the commands below.
name as shown in the commands below.
1.
Execute the command below to start a backup/restore and begin the replication
1.
Execute the command below to start a backup/restore and begin the replication
(various options that can be added to these commands are listed below):
>**Warning:** Each Geo secondary must have its own unique replication slot name.
Using the same slot name between two secondaries will break PostgreSQL replication.
```bash
```bash
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment