I am creating 2GP unlocked packages, no issue. I have created a DevHub, completed all my pre requisites (Enabled Dev Hub, 2GP), attached namespace org to the devhub.
When I am trying to get the package version list
sfdx force:package:version:list
after authenticating my DevHub
sfdx force:auth:web:login -d -a DevHubAlias
I am getting all my package versions which is great.
Now, I am going to spin up another DevHub, (brand new Developer Org) and going to abandon the previous DevHub, my question is
How do I migrate package version list from the old devhub to the new devhub?
I have a feeling it has to be stored in one of the tooling api objects, but could not identify which one. https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_metadatapackageversion.htm