$ docker exec -i -t gitlab bash
in docker $ sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production
$ bundle exec rake gitlab:backup:restore RAILS_ENV=product
https://blog.stead.id.au/2018/01/synology-gitlab-backup-and-restore.html