Migrating from 4.0.2 - manual import of users/keys/project permissions possible?

Hi all,

I have an ancient gitlab installation (4.0.2). I realise there’s no direct upgrade path from 4.0.2 to 9.2.2, so I’m looking for information/guidance.

I have set up a shiny new gitlab 9.2.2 CE instance, and have successfully imported my repositories.

Is there an accepted way of manually importing/creating users using the command-line or another batch tool?

I’m also looking to do the same for keys and project associations/permissions.

I’m comfortable with databases, scripting, git… are there pitfalls to just manually adding this information from the old DB to the new postgresql DB?

Any comments/advice would be awesome.

With thanks,
Troy