Is there a way to import all Security configs from Nexus 2 to Nexus 3?

Hi there!
I’m in the process of migrating Nexus 2 to Nexus 3.
Nexus 2 running on old AWS instance
Nexus 3 running in GKE

I succeeded to configure to new Nexus 3 with Python script that I wrote.
Also, I use bash script for migrating all the data from old repos to new repos.

But is there a way to migrate/import/export security configs as well? (users, roles, LDAP conf, privileges…)
I also noticed that roles having slightly different names in Nexus3 and Nexus2. And some are even missing in Nexus3.
I don’t want to create new roles and security configs with a script using Nexus 3 API, because there are plenty of them.
But is there an option to export old ones somehow? And import them to a new Nexus?

Thanks in advance!

You can use the 2 → 3 migrator, in your specific case you’d need to figure out how to get the intra-cloud communication working.

Is it an official tool ? Or some open source?
Because from what I can find, there’s only Nexus Repository import scripts, and Maven Repository Provisioner, but both are for migrating repos, not Security configs.

Its part of the documentation - Upgrading from Nexus Repository Manager 2

1 Like

Thanks Matthew