Migrating from Artifactory to Sonatype Nexus Repository
3 minute read time
Update:
The Nexus Migration Plugin is no longer supported. Migration information can be found in the Sonatype Nexus Repository documentation.
For context, the original blog post text appears below.
When we interact with customers, we frequently encounter a department that has started using Artifactory and, while they are keen on using Sonatype Nexus Repository, it's not very easy to migrate from Artifactory and configure Sonatype Nexus Repository as a drop-in replacement.
We noticed this pattern, and decided to create a Nexus Migration Plugin that will allow existing Artifactory users to take an Artifactory backup ZIP and restore all groups, repositories, users, and permissions to a Sonatype Nexus Repository instance. In this post, I'll walk you through the process. Here's how it works:
1. **Export your Artifactory Configuration to a ZIP Archive**
2. **Download Sonatype Nexus Repository or Sonatype Nexus Repository OSS** - Either one will work with the Nexus Migration plugin.
3. **Install**
4. **Download the Nexus Migration Plugin**
5. **Unpack the Nexus Migration Plugin in the Nexus Installation Directory**
6. **Fire up Nexus and Launch the Artifactory Import Panel**
7. **Point Nexus at your Artifactory ZIP Backup**
8. **Customize the Import Settings**
9. **Click Start Import...**
Once you've completed that process, you'll have a drop-in replacement for Artifactory, and we've even gone so far as to create intelligent rewrite rules so that the same URLs will work under your new Sonatype Nexus Repository installation.
Migrating from Artifactory to Sonatype Nexus Repository is now extremely easy if you want to take it for a test drive!
You can download the migration tool here: [http://nexus.sonatype.org/downloads/][2] . Download nexus-migration-plugin-packaging-1.0-webapp.zip and unpack this archive in your Nexus installation directory.
We are happy to answer questions and help users migrate on the [Nexus user mailing list][1].
*NOTE: The migration will only work with Nexus 1.3.1+*
[1]: mailto:nexus-user-subscribe@sonatype.org
[2]: http://nexus.sonatype.org/downloads
Written by Jason van Zyl
Jason is a co-founder and the former CTO of Sonatype.
Explore All Posts by Jason van Zyl