2015-01-05 21:21:00 +10:00
|
|
|
#!/bin/bash
|
2015-06-13 14:17:16 +10:00
|
|
|
# Add the following lines to /etc/gitlab/gitlab.rb once added
|
|
|
|
# run gitlab-ctl reconfigure for changes to take effect
|
|
|
|
#
|
|
|
|
# gitlab_rails['backup_path'] = '<BACKUP FOLDER>'
|
|
|
|
# gitlab_rails['backup_keep_time'] = 604800 #7 days of backups to keep
|
|
|
|
|
2015-01-05 21:21:00 +10:00
|
|
|
gitlab-rake gitlab:backup:create
|