Changing the gitlab-rake backup location

Hi,

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.
http://docs.gitlab.com/omnibus/settings/backups.html

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’

2 Likes

Many thanks Markus, that worked.

1 Like

Hi.

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