Member-only story

Sonatype Nexus Repository: Effortless Blob Migration to S3 Storage

Sai Kiran Pikili
3 min readMar 8, 2024

--

Nexus OSS version at the time of migration: 3.52.0

Are you ready to take your artifact management to the next level? Let’s delve into the seamless process of migrating Nexus file system blobs to S3 storage, unlocking enhanced scalability and reliability for your Nexus repository. In this guide, we’ll explore the steps involved in migrating your blobs with finesse, even without the Nexus Pro version.

  1. Preparing for Migration:
    Before embarking on the migration journey, it’s crucial to ensure a smooth transition.
    Take a snapshot of your machine and backup the Nexus database for added security.
    Remember to gracefully stop the Nexus service to prevent any data corruption during the migration process.
  2. Initiating the Migration:
    With the Nexus OSS version, you might miss out on the convenience of the “convert to group” button available in Nexus Pro.
    However, fear not! By connecting to the OrientDB console, we can execute commands to modify the existing file system blob to S3 blob effortlessly.
    Copy all the data from ebs volume to S3.
sudo nohup aws s3 cp - recursive . s3://<your-s3-name>/<path>/ > /tmp/nohup.out 2>&1 &

The command mentioned above runs in the background until the copying process is completed. You have the flexibility to…

--

--

Sai Kiran Pikili
Sai Kiran Pikili

Written by Sai Kiran Pikili

Architecting seamless DevOps solutions 🚀 Automating workflows, enhancing reliability, and empowering innovation to fuel the future of technology 🌟

Responses (1)