Move Nexus repo to different machine

migration, nexus, repository

Solution

Nexus separates it's runtime files from the home directory containing the software.

Copy the following directory over to the target machine and pretend you're doing an upgrade.

$NEXUS_HOME/../sonatype_work

Problem

I'm trying to move my repo from a machine to another, and also keep all the configuration and artifacts. Is there way to import these to the new repo without having to do the whole procedure from scratch?

Original source