Copy blob stores from one instance to another


#1

Hi,

my goal is to copy all repos of one Nexus instance to another one. I did this the following way:
I copied the blobs on filesystem level from one instance, to the other one, and executed a Repair - Reconcile component database from blob store task on it. It looks good to me now. Was this a proper way to solve the problem? Can I expect to have problems after doing this on the new instance?

source instance: OSS 3.15.2-01
target instance: OSS 3.18.0-01

Thanks in advance!


#2

It can work in the way you described if both the source and the target instance have the same repositories defined in them, but that’s not really what it was designed to do. The intent of that task is to fix up differences between blob storage and the database after a restore from backup.

What were you trying to achieve? If you want to move the install to a new machine following these instructions is a better approach: