# How to migrate Nexus repository from 1.7 to 3.x?

**URL:** <https://community.sonatype.com/t/how-to-migrate-nexus-repository-from-1-7-to-3-x/5729>\
**Category:** Sonatype Nexus Repository\
**Tags:** nexus-repository, migrate\
**Created:** [January 20, 2021, 11:11am UTC](https://community.sonatype.com/t/how-to-migrate-nexus-repository-from-1-7-to-3-x/5729 "2021-01-20T11:11:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![siddharth159](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@siddharth159](https://community.sonatype.com/u/siddharth159)\
**Post date:** [January 20, 2021, 11:11am UTC](https://community.sonatype.com/t/how-to-migrate-nexus-repository-from-1-7-to-3-x/5729/1 "2021-01-20T11:11:18Z")

</div>

How I migrate Nexus repository from 1.7 to 3.x? Is there way to do it ?

---

<div class="post-metadata">

**Author:** ![mprescott](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/mprescott/32/178_2.png) [@mprescott](https://community.sonatype.com/u/mprescott)\
**Post date:** [January 20, 2021, 3:29pm UTC](https://community.sonatype.com/t/how-to-migrate-nexus-repository-from-1-7-to-3-x/5729/2 "2021-01-20T15:29:29Z")

</div>

That’s quite a jump, 1.7 is ten years old! You should be able bring yourself up to the latest 2.x here:

> **[404 Page not found](https://help.sonatype.com/en/404-page.html)**

..using these instructions:

> **[How do I upgrade Nexus Repository Manager 2?](https://support.sonatype.com/hc/en-us/articles/213464138-How-do-I-upgrade-Nexus-Repository-Manager-2)**
>
> Nexus Repository 2 officially sunsetted June 30, 2025. Visit my.sonatype.com for archived documentation. Migrate to Sonatype Nexus Repository 3 as soon as possible.Note: Before upgrading, back up "...

Once you’ve done that, you’ll need to do a 2.x to 3.x migration to the latest version of 3.x, using these instructions:

> **[404 Page not found](https://help.sonatype.com/en/404-page.html)**

---

<div class="post-metadata">

**Author:** ![mmartz](https://avatars.discourse-cdn.com/v4/letter/m/e9bcb4/32.png) [@mmartz](https://community.sonatype.com/u/mmartz)\
**Post date:** [January 20, 2021, 4:04pm UTC](https://community.sonatype.com/t/how-to-migrate-nexus-repository-from-1-7-to-3-x/5729/3 "2021-01-20T16:04:08Z")

</div>

According to [Upgrading](https://help.sonatype.com/repomanager2/installing-and-running/upgrading), 1.7 can be upgraded to 2.7. After that you can upgrade to the latest 2.x version, then upgrade to the 3.x version.

---

<div class="post-metadata">

**Author:** ![siddharth159](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@siddharth159](https://community.sonatype.com/u/siddharth159)\
**Post date:** [January 21, 2021, 8:42am UTC](https://community.sonatype.com/t/how-to-migrate-nexus-repository-from-1-7-to-3-x/5729/4 "2021-01-21T08:42:01Z")

</div>

Thanks @mprescott , could you please how we can upgrade migrate repository from 1.7 to 2.7

---

<div class="post-metadata">

**Author:** ![deonevangelinevg](https://avatars.discourse-cdn.com/v4/letter/d/ba8739/32.png) [@deonevangelinevg](https://community.sonatype.com/u/deonevangelinevg)\
**Post date:** [January 27, 2021, 3:14pm UTC](https://community.sonatype.com/t/how-to-migrate-nexus-repository-from-1-7-to-3-x/5729/5 "2021-01-27T15:14:51Z")

</div>

> [@mprescott](#):
>
> That’s quite a jump, 1.7 is ten years old! You should be able bring yourself up to the latest 2.x here:
> 
> [https://help.sonatype.com/display/NXRM2/Download+Archives+-+Repository+Manager+OSS/](https://help.sonatype.com/display/NXRM2/Download+Archives+-+Repository+Manager+OSS/)[work time](https://www.worktime.com/)

Yeah, thanks. But i have the same question as siddharth joshi and its still don’t answered

---

<div class="post-metadata">

**Author:** ![jtom](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/jtom/32/68_2.png) [@jtom](https://community.sonatype.com/u/jtom)\
**Post date:** [January 27, 2021, 3:59pm UTC](https://community.sonatype.com/t/how-to-migrate-nexus-repository-from-1-7-to-3-x/5729/6 "2021-01-27T15:59:23Z")

</div>

We have a rather detailed support article about upgrading older versions. See [Nexus Repository Manager Upgrade and Compatibility Notes – Sonatype Support](https://support.sonatype.com/hc/en-us/articles/213464338-Nexus-Repository-Manager-Upgrade-and-Compatibility-Notes).

Most notably I think is you cannot do it all in one leap. See “To upgrade version 1.x to a version greater than 2.7.2 will involve two separate upgrades. First upgrade to 2.7.2. Then upgrade to the latest version.”

With any upgrade, we recommend a backup of the work directory, in case there are issues you can restore the backup and try again. Notably the $workdir/conf directory if you cannot do a full backup, as it has a lot of the configuration details in older versions.

In case not clear, we also don’t recommend stopping upgrade on 2.7 as it is still quite old and has had many fixes and releases since then.

cc/ @deonevangelinevg

I hope that helps,  
Joe

---

<div class="post-metadata">

**Author:** ![jtom](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/jtom/32/68_2.png) [@jtom](https://community.sonatype.com/u/jtom)\
**Post date:** [January 27, 2021, 4:13pm UTC](https://community.sonatype.com/t/how-to-migrate-nexus-repository-from-1-7-to-3-x/5729/7 "2021-01-27T16:13:07Z")

</div>

So perhaps more clear and on the original topic.

1. Download NXRM2.7.2
2. Upgrade to NXRM2.7.2 (use the support article for guidance)
3. Start NXRM2.7.2. Check and make sure the upgrade is successful.
4. Download NXRM2.14.20.
5. Upgrade to NXRM2.14.20 (use the [help.sonatype.com](http://help.sonatype.com) articles for guidance)
6. Start NXRM2.14.20. Check and make sure the upgrade is successful.
7. Download NXRM3.29.2.
8. Start NXRM3.29.2 and use the upgrade capability to move your data to the NXRM3 instance (as noted in the [help.sonatype.com](http://help.sonatype.com) article). _This will not make your NXRM2 instance non-functional, so if things go awry, you can still use it._ However any new data updated to NXRM2 after syncronization has ended will not be automatically moved to NXRM3.
9. Adjust 3.29.2 to suit your needs (you may need to shut down NXRM2 and adjust the NXRM3 port to your old port, or you may need to adjust whatever clients/builds you have setup to point to the NXRM3 server - this is dependant on your environments so hard to generally advice here).
10. Once you’re comfortable if you didn’t in Step 9, you can shut down your NXRM2 server (and when confident, remove it).
