https://docs.gitlab.com/omnibus/
Watch out though, the MM database is not backed up by the GitLab backup scripts.
The script I wrote: https://gitlab.com/gitlab-org/omnibus-gitlab/issues/2493
The general issue tracking vendored software backup: https://gitlab.com/gitlab-org/omnibus-gitlab/issues/1927
https://docs.gitlab.com/omnibus/