You'd have to manually set everything up and figure out what version you have, which updates you are/aren't missing. A lot of leg work. Not a supported process and there's no tools to make it easier really. If you find an old database and slap it in with new binaries, the binaries will auto update the database. But if you're trying to use old binaries and an old database, you'll have to find out which versions of Perl/Lua/etc you need and set all that up based on the age of the binaries.
If you have any more questions, feel free to join the
Discord, as it is much more active and you're likely to get an answer much faster.