published 05/11-15 by yugge
We recently upgraded our gitlab instance at buck.ludd.ltu.se
.
Due to breaking changes on gitlabs side we cannot migrate the database along with the projects, so the migration needs to be done by the user.
Thankfully we have managed to make a program for this cause available on
taurus
.
Sign into new buck ( http://buck.ludd.ltu.se )
Sign into taurus using ssh (putty is a good alternative for windows)
Make sure you have a public ssh key generated at taurus, it should
be located at .ssh/id\_rsa.pub
file .ssh/id_rsa.pub
ssh-keygen
Copy the content of the file to the sshkey fields in both new buck and old buck
cat .ssh/id_rsa.pub
Get the Private token from both old buck and new buck and note them down, you will need them later
On taurus
run
buckmigration -oldKey [privateTokenFromOldBuck] -newKey [privateTokenFromNewBuck]
The process could be pretty long, depending on the amount an size of your repos. But after completion the repos should be moved to the new buck.
Any Groups and/or Group projects will have to be created by hand, but that can be managed from the project settings. Sorry about this.