Changing the gitlab-rake backup location


Does anyone know how I can change the default location to where gitlab backs up to whebn running
gitlab-rake gitlab:backup:create ?

Hi, maybe this link can help you.

From this link:

Backup create will store a tar file in /var/opt/gitlab/backups.

If you want to store your GitLab backups in a different directory, add the following setting to /etc/gitlab/gitlab.rb and run sudo gitlab-ctl reconfigure:

gitlab_rails[‘backup_path’] = ‘/mnt/backups’

Many thanks Markus, that worked.


Glad it worked. Can you please mark my reply as solution as well? So others know that this issue has been resolved.