How to Migrate GitLab from Old server to New Server?

Steps for Gitlab Migration to AWS server:

gitlab-rake gitlab:env:info
apt-get update
apt-get install gitlab-ce
gitlab-ctl reconfigure
gitlab-ctl restart
gitlab-rake gitlab:backup:create
scp /var/opt/gitlab/backups/XXXXXXXXX_gitlab_backup.tar root@NEW_SERVER_IP:/root/

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store