# Migrating Data from Nexus2 to Nexus3 via Upgrade Agent

**URL:** <https://community.sonatype.com/t/migrating-data-from-nexus2-to-nexus3-via-upgrade-agent/7504>\
**Category:** Sonatype Nexus Repository\
**Tags:** nexus-repository, migrate\
**Created:** [October 20, 2021, 1:07pm UTC](https://community.sonatype.com/t/migrating-data-from-nexus2-to-nexus3-via-upgrade-agent/7504 "2021-10-20T13:07:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MK7Ops](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@MK7Ops](https://community.sonatype.com/u/MK7Ops)\
**Post date:** [October 20, 2021, 1:07pm UTC](https://community.sonatype.com/t/migrating-data-from-nexus2-to-nexus3-via-upgrade-agent/7504/1 "2021-10-20T13:07:24Z")

</div>

based on the documentation to upgrade Nexus2 to Nexus3 we can use the **Upgrade Agent** but now I am wondering is it possible to use it for data migration, my use case is, I have already Nexus3 with data inside, for the other project we are using Nexus2 which now we want to move data to Nexus3, just wondering if migrating in this way cause some configuration issue or overriding blob in Nexus3.

Does anyone tried it for migrating data from one instance to already existed instance with data inside?

I am using the community edition and not the PRO.

---

<div class="post-metadata">

**Author:** ![mpiggott](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mpiggott](https://community.sonatype.com/u/mpiggott)\
**Post date:** [October 20, 2021, 2:36pm UTC](https://community.sonatype.com/t/migrating-data-from-nexus2-to-nexus3-via-upgrade-agent/7504/2 "2021-10-20T14:36:07Z")

</div>

I’m afraid not, the 2-\>3 migrator was designed to be used a single time.

With Nexus Repository Pro you could use an [Import task](https://help.sonatype.com/repomanager3/system-configuration/tasks/repository-import). Without Pro formats do have defined APIs so you can always write code to pull content (or read from the filesystem) and upload it to Nexus 3 using APIs.

---

<div class="post-metadata">

**Author:** ![MK7Ops](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@MK7Ops](https://community.sonatype.com/u/MK7Ops)\
**Post date:** [October 20, 2021, 4:00pm UTC](https://community.sonatype.com/t/migrating-data-from-nexus2-to-nexus3-via-upgrade-agent/7504/3 "2021-10-20T16:00:48Z")

</div>

What do you mean by _Single time_?

---

<div class="post-metadata">

**Author:** ![mpiggott](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mpiggott](https://community.sonatype.com/u/mpiggott)\
**Post date:** [October 20, 2021, 5:17pm UTC](https://community.sonatype.com/t/migrating-data-from-nexus2-to-nexus3-via-upgrade-agent/7504/4 "2021-10-20T17:17:15Z")

</div>

It means the nexus 3 instance is expected to be empty.

---

<div class="post-metadata">

**Author:** ![MK7Ops](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@MK7Ops](https://community.sonatype.com/u/MK7Ops)\
**Post date:** [October 21, 2021, 6:44am UTC](https://community.sonatype.com/t/migrating-data-from-nexus2-to-nexus3-via-upgrade-agent/7504/5 "2021-10-21T06:44:16Z")

</div>

Oh dear, so as I do not have the PRO license, then I have to do everything manually, is there any script outside, some do not support NUGET repositories.

Thanks man!
