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
73151e8d
Commit
73151e8d
authored
Dec 01, 2017
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update disaster recovery manual with new gitlab-ctl command
parent
38b06690
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
doc/gitlab-geo/disaster-recovery.md
doc/gitlab-geo/disaster-recovery.md
+1
-4
No files found.
doc/gitlab-geo/disaster-recovery.md
View file @
73151e8d
...
...
@@ -22,12 +22,9 @@ You must make the changes in the exact specific order:
1.
Take down your primary node (or make sure it will not go up during this
process or you may lose data)
1.
Wait for any database replication to finish
1.
Promote the Postgres in your secondary node as primary
1.
Modify the
`gitlab.rb`
for both nodes to reflect their new statuses
1.
Log-in to your secondary node with a user with
`sudo`
permission
1.
Run
`sudo gitlab-rake geo:set_secondary_as_primary`
1.
Rsync everything in
`/var/opt/gitlab/gitlab-rails/uploads`
and
`/var/opt/gitlab/gitlab-rails/shared`
from your old node to the new one.
1.
Run
`sudo gitlab-ctl promote-to-primary-node`
To bring your old primary node back into use as a working secondary, you need to
run
`gitlab-ctl reconfigure`
against the node and then follow the
...
...
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