From 0c3c8e7c25193791d48cf4e2b4b76dbdd4013aeb Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Thu, 27 Feb 2014 15:30:15 +0100 Subject: [PATCH] Explain how to create a backup --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 66bb1fe..a908831 100644 --- a/README.md +++ b/README.md @@ -74,12 +74,22 @@ external_url "http://gitlab.example.com" Run `sudo gitlab-ctl reconfigure` for the change to take effect. +### Creating an application backup + +To create a backup of your repositories and GitLab metadata, run the following command. + +```shell +sudo gitlab-rake gitlab:backup:create +``` + +This will store a tar file in `/var/opt/gitlab/backups`. + ### Invoking Rake tasks To invoke a GitLab Rake task, use `gitlab-rake`. For example: ```shell -sudo gitlab-rake gitlab:backup:create +sudo gitlab-rake gitlab:check ``` Contrary to with a traditional GitLab installation, there is no need to change -- libgit2 0.21.2