Gitlab server backup - duplicated backups
Problem Statement
I have a Jenkins job that runs a weekly backup of our GitLab server; nothing special, this is the command in question:
gitlab-rake gitlab:backup:create --trace
What I've noticed is that it seems to create the backup twice, once for all the files decompressed and once for the compressed archive (same size of 62GB for both the archive and the repositories folder under /var/opt/gitlab/backups):
**62G 1568513343_gitlab_backup.tar**
4.0K artifacts.tar.gz
4.0K backup_information.yml
4.0K builds.tar.gz
61M db
4.0K lfs.tar.gz
**62G repositories**
540K uploads.tar.gz
If I decompress the *.tar archive, the folder repositories is already present, so I don't understand why it's taking another backup of the same folder.
Gitlab version:
gitlab-ce-8.10.0-ce.1.el6.x86_64
Reach
Effort
Edited by Marius Iacob