Migrating nexus blobstores from one environment to another

4,754 views
Skip to first unread message

Smitha Pasham

unread,
Oct 19, 2017, 11:47:48 AM10/19/17
to Nexus Users
Hi - We have  a task to migrate Nexus blobstore data from one nexus instance to another. Both these instances are running in different data centers. One wont be able to access another. Basically we set up a brand new instance, all we are bringing over is just blob stores from old instance. There are couple thousand blobstores in the old nexus and we need to bring them (export out of old instance) and stage them back in the new instance( import into new instance).

Can anyone suggest what is the efficient way to do this? 

I did some research and see that moving just the blobstores isnt enough since its metadata exists in OrientDB. I ran a dry test of this by doing following:

1. copied a blob store from old nexus instance to the new blob location in the new instance.
2. updated repository_blobstore attribute.file.path to reflect the new location in OrientDB 
2. Restarted nexus and I still dont see the blobstore listed in nexus UI.

Is there anything I'm doing wrong here?

Backing up old nexus and copying to the new one probably wont work, since LDAP configurations, keystores and SSL settings on the new one would be different from the old one.

Please let us know what your thoughts are.

Thanks,
Smitha

Rich Seddon

unread,
Oct 19, 2017, 3:24:02 PM10/19/17
to Nexus Users
It is not currently possible to just migrate blob storage from one Nexus 3 instance to another.  We are working on that though, so stay tuned.

For now, you'll need to copy the entire work directory while Nexus is not running, or use the backup/restore technique outlined here:


Regards,

Rich

Merrell Viñeza

unread,
Jul 11, 2019, 3:45:57 AM7/11/19
to Nexus Users
Hello, may I know if this still in progress? I have similar problem in which I will migrate our nexus installation from virtual machines to kubernetes statefulset.

Rich Seddon

unread,
Jul 11, 2019, 11:19:51 AM7/11/19
to Nexus Users


On Thursday, October 19, 2017 at 10:47:48 AM UTC-5, SIMIREDDI wrote:

Merrell Viñeza

unread,
Jul 12, 2019, 12:38:58 AM7/12/19
to Nexus Users
Thanks for this!
Reply all
Reply to author
Forward
0 new messages