Migrate Yubikey's from 2.18.1 to the newest PI

I’ve got PrivacyIdea ver. 2.18.1 installed from source and hundreds of Yubikeys enrolled in AES mode (OTP authentication). One LDAP user realm is configured.
Is there any scenario to migrate the tokens to the new/clean installation of PrivacyIdea?
According to so many changes in the software and database scheme upgrading in place seems impossible to do. Audit logs are not important.

I’ll be grateful for any suggestions.

Hi @Andrzej_L

If you dive a bit into privacyIDEA and understand the DB connection, encryption and DB schema update, this is actually quite easy.