I am trying to migrate nexus repo. How can I go about it, any pointers?
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
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.