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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
3e6b284b
Commit
3e6b284b
authored
Oct 18, 2014
by
Ben Bodenmiller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stop gitlab before backup
parent
9a92e53f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
doc/update/6.x-or-7.x-to-7.4.md
doc/update/6.x-or-7.x-to-7.4.md
+5
-5
No files found.
doc/update/6.x-or-7.x-to-7.4.md
View file @
3e6b284b
...
@@ -13,7 +13,11 @@ possible to edit the label text and color. The characters `?`, `&` and `,` are
...
@@ -13,7 +13,11 @@ possible to edit the label text and color. The characters `?`, `&` and `,` are
no longer allowed however so those will be removed from your tags during the
no longer allowed however so those will be removed from your tags during the
database migrations for GitLab 7.2.
database migrations for GitLab 7.2.
## 0. Backup
## 0. Stop server
sudo service gitlab stop
## 1. Backup
It's useful to make a backup just in case things go south:
It's useful to make a backup just in case things go south:
(With MySQL, this may require granting "LOCK TABLES" privileges to the GitLab user on the database version)
(With MySQL, this may require granting "LOCK TABLES" privileges to the GitLab user on the database version)
...
@@ -23,10 +27,6 @@ cd /home/git/gitlab
...
@@ -23,10 +27,6 @@ cd /home/git/gitlab
sudo
-u
git
-H
bundle
exec
rake gitlab:backup:create
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake gitlab:backup:create
RAILS_ENV
=
production
```
```
## 1. Stop server
sudo service gitlab stop
## 2. Update Ruby
## 2. Update Ruby
If you are still using Ruby 1.9.3 or below, you will need to update Ruby.
If you are still using Ruby 1.9.3 or below, you will need to update Ruby.
...
...
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