Question: Migrating gitlab between servers with some difficult constraints
We've been using Gitlab for ages, with over 300 repositories for about 99GB in git repo's. Suddenly yesterday, we ran out of inodes on the disk.
With a lot of git gc
we recovered enough inodes to continue working, but it will soon run out again. Since we were still running a manual install on mysql om ubuntu 12.04, time to move to 14.04 with the omnibus install.
So, no issues with the Omnibus install, but we don't have enough free disk space on the old server to do the rake backup routine.
I want to check if this scenario is valid:
- rsync oldserver:/home/git/repositories to newserver:/var/opt/gitlab/git-data/repositories
- dump mysql, convert and import in the new server like https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/update/mysql_to_postgresql.md
- run all cleanup etc raketasks