summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Bodenmiller <bbodenmiller@hotmail.com>2014-10-18 01:51:35 -0700
committerBen Bodenmiller <bbodenmiller@hotmail.com>2014-10-18 01:51:35 -0700
commit3e6b284bd0cf597f6446e1990a53acb806fb359a (patch)
treeca354cdbcb8925814961b6700ec7f747243b2591
parent9a92e53f622f29388851f25abe191dad38e35516 (diff)
downloadgitlab-ce-3e6b284bd0cf597f6446e1990a53acb806fb359a.tar.gz
stop gitlab before backup
-rw-r--r--doc/update/6.x-or-7.x-to-7.4.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/update/6.x-or-7.x-to-7.4.md b/doc/update/6.x-or-7.x-to-7.4.md
index e923060223b..c332e5fe267 100644
--- a/doc/update/6.x-or-7.x-to-7.4.md
+++ b/doc/update/6.x-or-7.x-to-7.4.md
@@ -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
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:
(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
sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production
```
-## 1. Stop server
-
- sudo service gitlab stop
-
## 2. Update Ruby
If you are still using Ruby 1.9.3 or below, you will need to update Ruby.