How to export device database while perform NMS migration to VM

How to export device database while perform NMS migration to VM

Hello colleagues,
could somebody advise topics/materials/approach, how to export OpManager database from existing NMS server and import it on to newly configured server?

Best regards,