FYI if you are uploading to AWS or other cloud providers, you don’t even need a backup script. You can configure it in the gitlab.rb file:
https://docs.gitlab.com/ee/raketasks/backup_restore.html#upl...