Gitlab is packaged with an integrated version
1. Backup with git users for the integrated version
Sudo su git to / installation path / gitlab-8.9.6-0/apps/gitlab/htdocs/
Execute backup and restore commands in this directory
Bundle exec bin/rake gitlab:backup:create RAILS_ENV=production