Migrating data to foreman

Problem: Migrating from Foreman 1.12 (Postgres 9.6) to Foreman 1.19 (Postgres 10) without DB export import. Any steps, we can selectively migrate Groups, host group, config group, using any API

Expected outcome:

Without doing DB export import and following migration steps for Foreman, would like to migrate data between two parallel instance of Foreman ( Source - Foreman 1.12 with Postgres 9.6) Destination (Foreman 1.19 Postgres 10), using API or any other step

Foreman and Proxy versions:

Foreman and Proxy plugin versions: 1.19

Distribution and version:
1.19
Other relevant data: