summaryrefslogtreecommitdiff
path: root/doc/update/7.3-to-7.4.md
diff options
context:
space:
mode:
authorBen Bodenmiller <bbodenmiller@hotmail.com>2014-10-18 01:49:59 -0700
committerBen Bodenmiller <bbodenmiller@hotmail.com>2014-10-18 01:49:59 -0700
commit9a92e53f622f29388851f25abe191dad38e35516 (patch)
tree3b86c492f707cd42ae53762dd66340a026449982 /doc/update/7.3-to-7.4.md
parent564c4138e914abab570ad92c4850dd2b35d37198 (diff)
downloadgitlab-ce-9a92e53f622f29388851f25abe191dad38e35516.tar.gz
stop gitlab before backup
Stopping gitlab before backup ensures that backup has everything before upgrade incase something goes wrong. Also remove extra cd.
Diffstat (limited to 'doc/update/7.3-to-7.4.md')
-rw-r--r--doc/update/7.3-to-7.4.md14
1 files changed, 5 insertions, 9 deletions
diff --git a/doc/update/7.3-to-7.4.md b/doc/update/7.3-to-7.4.md
index 193f44bb67e..6ef91913bbf 100644
--- a/doc/update/7.3-to-7.4.md
+++ b/doc/update/7.3-to-7.4.md
@@ -1,22 +1,18 @@
# From 7.3 to 7.4
-### 0. Backup
+### 0. Stop server
-```bash
-cd /home/git/gitlab
-sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production
-```
+ sudo service gitlab stop
-### 1. Stop server
+### 1. Backup
```bash
-sudo service gitlab stop
-```
+cd /home/git/gitlab
+sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production
### 2. Get latest code
```bash
-cd /home/git/gitlab
sudo -u git -H git fetch --all
sudo -u git -H git checkout -- db/schema.rb # local changes will be restored automatically
```