sonatype-nexus-community / nexus-blobstore-google-cloud

Nexus Repository Manager Blobstore backed by Google Cloud Storage
https://help.sonatype.com/en/configuring-blob-stores.html#google-cloud-blob-store
Eclipse Public License 1.0
39 stars 16 forks source link

Migration of blobs from existing nexus instance to gcp bucket #117

Closed manish-nference closed 2 years ago

manish-nference commented 2 years ago

I have some hosted repos in the file blob vol-chap format and see content directory in gcp bucket as well. Now how do I move these existing file blobs to GCP bucket so that nexus would know where to pick up. I already changed the metadata of blob storage to buckets.

Is this something which is possible by this plugin?

nblair commented 2 years ago

While the directory format looks similar, migrating content from file backed blobstores to this plugin is not presently supported.

manish-nference commented 2 years ago

While I see the AWS S3 plugin they have a specific column like prefix . What if we can have something of sort in this plugin and then change the blob storage to that specific location instead of pointing to one default bucket root position.

Just thinking would something like this work?

nblair commented 2 years ago

I would not recommend trying to do this with live data unless you are willing to lose it. I suspect you would need to develop some support for that capability within this plugin.

manish-nference commented 2 years ago

yeah, I was thinking something within this plugin only. Thanks for the clarification