Migrating from on-prem Nexus OSS to k8s based OSS

40 views
Skip to first unread message

Brendan Classen

unread,
Apr 11, 2022, 4:33:48 PM4/11/22
to Nexus Users
Our on prem nexus has several proxied repos, hosted repos as well as several repo groups.  Is there a clean way to export all the repository details into the deployment.yaml so they will be created when the pod is created?

Michael Prescott

unread,
Apr 15, 2022, 1:26:00 PM4/15/22
to Nexus Users, brendan...@gmail.com
Brendan, one way is to export the repository configuration via the REST API, then reimport it. Now, that will give you a configured but empty instance. If you're doing a migration then what you're asking for makes sense, but isn't quite the paradigm that Repository is built on. The embedded database is the system of record for a bunch of metadata about those binaries. You really need to be attaching the whole configuration folder to your k8s instance (assuming that things like storage locations aren't changed).
Reply all
Reply to author
Forward
0 new messages