How to export single Repo and Groups from a local Nexus(3.18) to an Enterprise Nexus(3.25)

I need to export hosted Repositories and groups from a local Nexus server 3.18 to another enterprise Nexus Server 3.25. I am not able run a backup on the local Nexus(3.18) because I think the restore on the Enterprise will overwrite other existing Repos.

What is the best way to export certain Repos and groups from one (local) server to another(Enterprise)?

Thank you.