Hello Sonatype Support Community,
I am hoping to please get advice on another question.
This concerns “merging” multiple repository storage into one repository.
An example using Maven Central is below.
Thanks for any advice that anyone might have.
THE GENERAL IDEA
There are 2 old Nexus servers
There is 1 new Nexus server
I am copying ALL OLD REPOSITORY LOCAL STORAGE from both OLD servers to the NEW server.
This includes copying all old “proxy” local storage, and all old “hosted” local storage.
I realize I need to rebuild metadata / indexing / etc.
EXAMPLE: MAVEN CENTRAL PROXY
Both old Nexus servers have a “MAVEN CENTRAL proxy repository” + its local storage.
Both Maven Centrals’s local storage are being copied to the new server.
RESULT: THREE MAVEN CENTRALS
As a result NEW Nexus has 3 Maven Central respositories.
1 – old Maven Central storage from old server_1 <-- BLOCKED but IN-SERVICE
2 – old Maven Central storage from old server_2 <-- BLOCKED but IN-SERVICE
3 – new Maven_Central <-- IN-SERVICE (CONNECTED to internet, is active)
4.1 Has anyone encountered this before? 4.2 Should all three Maven Central repos local storages be MERGED on the NEW SERVER? I assume this is not technically possible since repository storage is isolated and disjoint from the others. 4.3 What is the recommended approach? (what do other companies do?) Side-note I have several other proxy repositories falling under this same scenario too: old server 1 -- 10 proxy (central, jboss, apache, etc...) old server 2 -- 10 proxy (central, jboss, apache, etc...) I would be copying them all over. This will really bloat the NEW Nexus.