I am trying to migrate nexus repo. How can I go about it, any pointers?

  • Users also migrated automatically in your case, per @Nicolas solution? – Gnanam Apr 24 '13 at 5:28

As stated in the doco the data storage and config. is separated from the application.

This way you can just copy both the application directory (Something like /opt/nexus-oss-webapp-X.Y.Z/) and your data directory (/opt/sonatype-work/) to a new server without any trouble.

I suspect the only setting that you'll need to change before trying to restart it is the repository URL which can be done by editing sonatype-work/nexus/conf/nexus.xml.

I just moved my repo from a machine to another, and upgraded it from 1.8.x to 1.9.0 at the same time without any trouble.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.