GitLab Backup & Restore

Gitlab Backup & Restoring data:- 
→  gitlab-rake gitlab:backup:create
→  check its data are restored or not
         cd /var/opt/gitlab/backups/
         ls -l  (ex:- 1497260359_2017_06_12_9.2.5_gitlab_backup.tar)
→ Download and Install gitlab-ce in that centos server.
→ copy that tar file in another server using these command,
       scp /var/opt/gitlab/backups/1497260359_2017_06_12_9.2.5_gitlab_backup.tar root@IP or DNS:/var/opt/gitlab/backups/
→ Compare gitlab versions in two servers same or not.
→ change permissions in tar file
      chown -R git:git 1497260359_xxxx_gitlab_backup.tar

→ stop these gitlab services
          gitlab-ctl stop unicorn
          gitlab-ctl stop sidekiq
→ Restore gitlab data using this command
       gitlab-rake gitlab:backup:restore BACKUP= 1497260359_2017_06_12_9.2.5
            click yes
            click yes
       gitlab-ctl start
      gitlab-rake gitlab:check SANITIZE=true
→ Check your gitlab url in your browser.