unable restore repository in gitlab 6.5.1
Created by: SelinaDu
I backup gitlab repository in GitLab 6.5.1 2ffa03ab bundle exec rake gitlab:backup:create RAILS_ENV=production git stash Saved working directory and index state WIP on 6-5-stable: 2ffa03ab Replace context with service in development seed data. HEAD is now at 2ffa03ab Replace context with service in development seed data.
when restore repository in GitLab 6.5.1 6f6f1588 on another server . bundle exec rake gitlab:backup:restore RAILS_ENV=production BACKUP=1394603827 git stash : Saved working directory and index state WIP on (no branch): 6f6f1588 Version 6.5.1 HEAD is now at 6f6f1588 Version 6.5.1
it shows below error : Unpacking backup ... done GitLab version mismatch: Your current HEAD differs from the HEAD in the backup! Please switch to the following revision and try again: revision: 2ffa03ab
I want to backup gitlab repository in GitLab 6.5.1 2ffa03ab ,then restore repository in GitLab 6.5.1 6f6f1588 ,is there any better way to complete this and try not to change anything in GitLab 6.5.1 6f6f1588 ?
appreciate if you can help ,Thanks .