# Can migration from NXRM windows to NXRM unix (ubuntu) work

**URL:** <https://community.sonatype.com/t/can-migration-from-nxrm-windows-to-nxrm-unix-ubuntu-work/1142>\
**Category:** Sonatype Nexus Repository\
**Created:** [January 30, 2019, 10:11pm UTC](https://community.sonatype.com/t/can-migration-from-nxrm-windows-to-nxrm-unix-ubuntu-work/1142 "2019-01-30T22:11:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![humpho](https://avatars.discourse-cdn.com/v4/letter/h/a587f6/32.png) [@humpho](https://community.sonatype.com/u/humpho)\
**Post date:** [January 30, 2019, 10:11pm UTC](https://community.sonatype.com/t/can-migration-from-nxrm-windows-to-nxrm-unix-ubuntu-work/1142/1 "2019-01-30T22:11:55Z")

</div>

Have been running OSS on Windows fine for a while now, but would like to switch to linux for all our in house servers. I have a clean install on linux up and running, and have matched the version (3.11), figuring I would upgrade to latest once migration is complete.

Has anyone done this? Any tricks to look out for? I figured a straight copy of the app and data would cause problems, but that would appear to be the way to get the configuration across…

---

<div class="post-metadata">

**Author:** ![atselvan](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@atselvan](https://community.sonatype.com/u/atselvan)\
**Post date:** [January 31, 2019, 8:59am UTC](https://community.sonatype.com/t/can-migration-from-nxrm-windows-to-nxrm-unix-ubuntu-work/1142/2 "2019-01-31T08:59:56Z")

</div>

@humpho

I have not tried it myself but I think it should work.

1. Install Nexus on the linux environment.
2. Take a backup of the database and restore the db over to the new instance. Check below documentation for more information.  
[Backup and Restore](https://help.sonatype.com/repomanager3/backup-and-restore)
3. Copy the blob stores to the linux installation storage directory and start nexus.

Check if this works for you!

---

<div class="post-metadata">

**Author:** ![ado](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/ado/32/769_2.png) [@ado](https://community.sonatype.com/u/ado)\
**Post date:** [February 5, 2019, 10:20am UTC](https://community.sonatype.com/t/can-migration-from-nxrm-windows-to-nxrm-unix-ubuntu-work/1142/3 "2019-02-05T10:20:36Z")

</div>

Exact these steps work for me fine when I was testing backups. But it was from linux to windows 🙂

---

<div class="post-metadata">

**Author:** ![rseddon](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/rseddon/32/341_2.png) [@rseddon](https://community.sonatype.com/u/rseddon)\
**Post date:** [February 5, 2019, 3:47pm UTC](https://community.sonatype.com/t/can-migration-from-nxrm-windows-to-nxrm-unix-ubuntu-work/1142/4 "2019-02-05T15:47:46Z")

</div>

The work directory and blob storage is portable, and can be moved between windows and linux. You may find this article helpful for other considerations to take into account when moving the installation:

> **[Moving a Nexus Repository 3 Instance to a New Location](https://support.sonatype.com/hc/en-us/articles/360010352014-Moving-a-Nexus-Repository-3-Instance-to-a-New-Location)**
>
> .This article provides best practice and considerations for moving an existing Nexus Repository 3 self-hosted standalone server to a new server location under these conditions:
> Standalone Repositor...

---

<div class="post-metadata">

**Author:** ![swolfe100](https://avatars.discourse-cdn.com/v4/letter/s/47e85d/32.png) [@swolfe100](https://community.sonatype.com/u/swolfe100)\
**Post date:** [July 16, 2020, 11:00pm UTC](https://community.sonatype.com/t/can-migration-from-nxrm-windows-to-nxrm-unix-ubuntu-work/1142/5 "2020-07-16T23:00:51Z")

</div>

re: “Moving a Nexus Repo 3 Installation to a New Location”

1. Linux to Linux.  
Instructions worked fine Remember to delete the directories mentioned in the article.  
since I used docker containers on both I didn’t deal with the application directory.
2. Windows to LInux  
I am concerned about  
a. do I really need the application directory?  
b. I am really hoping to just copy the Windows Data Directory into the LInux/docker container Data Directory.

I’ll give it a try. I hope Rich or someone can comment if this will work.  
Thanks much!
