I am trying to migrate from one self hosted gitlab server to another
So ,the problem is I forgot the password of the Linux server that the gitlab is hosted on
I tried exporting group via file export but it won't export project.
I tried the direct transfer api but my old server is running below 14 version and new one was above 15 version.
I don't know how to do the migration , please help me..Thank you.
A solution on How to migrate from old gitlab server to new gitlab server
The group export does not include the projects, so you would do a group export, and then a project export for each project inside of a group.
While you can attempt to do a group/project export and import, be warned that the documentation states this is only supported for 2 minor versions apart, so you can try it, but there's no guarantee it'll work.
If you're only interested in the repository, then you can use the import repo by URL.
Since the versions you're looking at are fairly far apart, you can attempt to use the congregate tool.
If none of those work, then you could try to script something similar yourself by using the API to loop through all your groups and projects, the individual issues, notes, etc. and recreate them on the new GitLab instance.