Hello
We have a source compiled postgresql backend gitlab with version 6 and a lot of projects .
We dont want to upgrade the dirty install and try to migrate all data to new server
A: We transfer all repositories and do a rake import repos import db manually adding ldap authentication again but users and group we dont know what do to with them so we go to plan B
B: We create a backup using bundle in old server transfer it to new one and rake backup:restore give us
DEBUG – : ** [Raven] Event not sent due to excluded environment: production
rake aborted!
Don’t know how to build task ‘backup:restore’
I searched before so many times in stackoverflow here and see others instructions but we dont want to take the risk and upgrade the old one .
@Ara4Sh The task is called gitlab:backup:restore rather than backup:restore so if the new setup uses omnibus it is supposed to be sudo gitlab-rake gitlab:backup:restore
To view all available rake tasks on omnibus, just use the following command:
sudo gitlab-rake -T
Additional points:
Always ensure that you restore to a similar version that you used to create the dump with i.e. If there is a GitLab version mismatch between your backup tar file and the installed version of GitLab, the restore command will abort with an error. Install a package for the required version and try again.
Im thinking about another way to upgrade :
Creating a new machine install omnibus 6.0.1 - restore source installation backup and then upgrade through deb .
but how can i find omnibus 6.0.1 is package exist ?