Copying data from GitLab 6.7.4 to 8.13.11

Hi,

What are the steps to copy all the projects, groups and users from GitLab 6.7.4 to 8.13.11? I asked about this also here.

Br,

Harri

If someone else has the same problem this is what I did:

  1. Install new GitLab version and turn it down.
  2. Drop the newly created database “gitlab_production” and create an empty database with similar grants.
  3. Copy data from the old version database to the new one.
  4. Copy GitLab user’s ~/.ssh if the new version is on a different (virtual) machine.
  5. Copy repositories folder.
  6. Copy public/uploads folder.
  7. Run these commands as a GitLab user in a directory containing containing new GitLab’s Rakefile.
    • rake db:migrate RAILS_ENV=production --trace
    • bundle exec rake gitlab:shell:setup RAILS_ENV=production