Commit 698b68a81d0616beb50bb9fafb1c454b12a64330
1 parent
57b1a87a
Exists in
master
Document how to change the backup path
Showing
1 changed file
with
8 additions
and
0 deletions
Show diff stats
README.md
... | ... | @@ -483,6 +483,14 @@ sudo gitlab-rake gitlab:backup:create |
483 | 483 | This will store a tar file in `/var/opt/gitlab/backups`. The filename will look like |
484 | 484 | `1393513186_gitlab_backup.tar`, where 1393513186 is a timestamp. |
485 | 485 | |
486 | +If you want to store your GitLab backups in a different directory, add the | |
487 | +following setting to `/etc/gitlab/gitlab.rb` and run `sudo gitlab-ctl | |
488 | +reconfigure`: | |
489 | + | |
490 | +```ruby | |
491 | +gitlab_rails['backup_path'] = '/mnt/backups' | |
492 | +``` | |
493 | + | |
486 | 494 | ### Scheduling a backup |
487 | 495 | |
488 | 496 | To schedule a cron job that backs up your repositories and GitLab metadata, use the root user: | ... | ... |