Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question
    
Users also migrated automatically in your case, per @Nicolas solution? –  Gnanam Apr 24 '13 at 5:28

1 Answer 1

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.

share|improve this answer
1  
The link to the documentation has changed and is now: sonatype.com/books/nexus-book/reference/… –  Hbf Apr 17 '12 at 11:22
    
@NicolasGuillaumin: So Users are also migrated automatically as well? –  Gnanam Apr 24 '13 at 5:25
    
Not sure about users, I'm using LDAP so I don't have local users. I would assume that they would be stored in the data folder as well. –  Nicolas Guillaumin Aug 5 '13 at 6:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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