(Backup) gitlab.rb and gitlab-secrets.json warning

version: on prem Gitlab Omnibus free edition on latest version


I’m doing automated daily backups which I daily transfer off the server (also automated):
/opt/gitlab/bin/gitlab-rake gitlab:backup:create STRATEGY=copy CRON=1

Whenever I upgrade Gitlab, I notice a warning saying:

“Warning: your gitlab.rb and gitlab-secrets.json files contain sensitive data and are not included in this backup. You will need these files to restore a backup. Please back them up manually.”

While this warning only shows during upgrade I was wondering if this message is applicable to my own daily backups too? If yes, than I should probably implement a mechanism to daily copy and transfer these files of the server too…correct?

edit: nvm I think I found my answer in https://docs.gitlab.com/ee/raketasks/backup_restore.html (Storing configuration files)