I have scheduled GitLab backups through crontab which backs up gitLab data everyday at 2 AM. The problem I have is cleaning up of backup files automatically. Backups files have now been piling up and I want to automate this task.
Uncommenting the following lines in 'gitlab.rb' doesn't help.
gitlab_rails['backup_keep_time'] = 604800
For your info, my GitLab has been installed with omnibus package on CentOS 7.
After editing gitlab.rb, you need to run gitlab-ctl reconfigure to make your changes take effect.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With