serverscripts/gitlabbackup.sh

9 lines
287 B
Bash
Raw Normal View History

2015-01-05 21:21:00 +10:00
#!/bin/bash
# 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