Hi Sam,
if you dont have any recording, then my proposal is to set up a new Ubuntu 22 machine and install a fresh BBB with Greenlight on it (Login, Mate API, General Configurations, DailIn/Freeswitch).
After you are making sure, that it is working, you should only need to migrate the Greenlight Postgres DB to have your old users and rooms available. I did this successfully with 2.7 to 3.0.x.
One thing that I didnt migrate was the avatar pictures of the user. That was not straight forward and I didnt want to have people with wrong avatars.
If you need to migrate the records, which I didnt do, I would try to copy the /var/bigbluebutton/recording folder from one server to the other, this depends where you are pointing your recording to in the proporties file.
The other suggestions of the folks here work as well.
Hope it helps.
Christian