Commit 0c3c8e7c25193791d48cf4e2b4b76dbdd4013aeb
1 parent
1eab8f87
Exists in
master
and in
17 other branches
Explain how to create a backup
Showing
1 changed file
with
11 additions
and
1 deletions
Show diff stats
README.md
@@ -74,12 +74,22 @@ external_url "http://gitlab.example.com" | @@ -74,12 +74,22 @@ external_url "http://gitlab.example.com" | ||
74 | 74 | ||
75 | Run `sudo gitlab-ctl reconfigure` for the change to take effect. | 75 | Run `sudo gitlab-ctl reconfigure` for the change to take effect. |
76 | 76 | ||
77 | +### Creating an application backup | ||
78 | + | ||
79 | +To create a backup of your repositories and GitLab metadata, run the following command. | ||
80 | + | ||
81 | +```shell | ||
82 | +sudo gitlab-rake gitlab:backup:create | ||
83 | +``` | ||
84 | + | ||
85 | +This will store a tar file in `/var/opt/gitlab/backups`. | ||
86 | + | ||
77 | ### Invoking Rake tasks | 87 | ### Invoking Rake tasks |
78 | 88 | ||
79 | To invoke a GitLab Rake task, use `gitlab-rake`. For example: | 89 | To invoke a GitLab Rake task, use `gitlab-rake`. For example: |
80 | 90 | ||
81 | ```shell | 91 | ```shell |
82 | -sudo gitlab-rake gitlab:backup:create | 92 | +sudo gitlab-rake gitlab:check |
83 | ``` | 93 | ``` |
84 | 94 | ||
85 | Contrary to with a traditional GitLab installation, there is no need to change | 95 | Contrary to with a traditional GitLab installation, there is no need to change |