I have the latest omnibus package installed (10.8.3-ce.0) and want to change the default backup path. However on doing so nothing changes.
This is my gitlab.rb section concerning backups:
# gitlab_rails['manage_backup_path'] = true # gitlab_rails['manage_backup_path'] = false # gitlab_rails['backup_path'] = "/var/opt/gitlab/backups" gitlab_rails['backup_patḧ́'] = '/home/backups/gitlab/data' ###! Docs: https://docs.gitlab.com/ce/raketasks/backup_restore.html#backup-arch$ # gitlab_rails['backup_archive_permissions'] = 0644 # gitlab_rails['backup_pg_schema'] = 'public'
(the rest is unmodified)
Now the problem is, that when running
sudo gitlab-ctl reconfigure I get these two lines when grepping for ‘backup’:
* storage_directory[/var/opt/gitlab/backups] action create * ruby_block[directory resource: /var/opt/gitlab/backups] action run (skipped due to not_if)
And expectedly when running
sudo gitlab-rake gitlab:backup:create, backups get placed in
/var/opt/gitlab/backups instead of the configured folder.
The permissions/ownerships of /home/backup/gitlab:
drwxrwx--- 3 root git 4096 Jun 3 12:54 gitlab
(I’ve also tried setting it to git:git with no difference.)
I’ve been sitting on this for two hours now and it just drives me crazy why the heck the setting is ignored on reconfiguring.