Backup rake task no longer stores git config
Summary
Customer advised that the backup is no longer archiving their git config, stored as config
in the root of the repository.
This is an issue because they use the config to enable and disable custom web hooks (example can be seen in https://gitlab.zendesk.com/agent/tickets/102600 (Internal Only)).
It looks like this behaviour changed as part of this commit: https://gitlab.com/gitlab-org/gitlab-ce/commit/69de7b42cf7d3f0c99d63f1778f7f0b9d15ddfd8
and there is lots of similar discussion around this here, in particular this comment: #749 (closed)
It looks like we are discussing whether to use git bundle create
or tar
with Gitaly to archive the repos.
Steps to reproduce
Add a config
file to the root of the repository and create a backup with gitlab-rake gitlab:backup:create
.
What is the current bug behavior?
config
is not part of the backup.
What is the expected correct behavior?
config
should be included.
Results of GitLab environment info
GitLab information
Version: 11.1.4-ee
Revision: d17962f
Possible fixes
Use tar
or a combination of git bundle create
and tar
to create the backup.