Loading...

Azure Tips and Tricks - How to move Azure Storage Blobs between containers

Azure Tips and Tricks - How to move Azure Storage Blobs between containers

How to move Azure Storage Blobs between containers

 

 

Easy file management

 

Azure Storage is a versatile and secure storage service. You can create storage containers with folder hierarchies and store Blobs in them. But it isn't very straightforward to move Blobs between containers or between storage accounts. Azure offers several options to help with this, including Azure Storage Explorer.

 

In this post, we'll use Azure Storage Explorer to move Blobs between containers in Azure Storage Accounts.

 

Prerequisites

 

If you want to follow along, you'll need the following:

  • An Azure subscription (If you don't have an Azure subscription, create a free account before you begin)
  • Two existing Azure Storage accounts with Blobs in one of them. Learn how to work with Blobs here

 

Copy Blobs with Azure Storage Explorer

 

I have two Azure Storage accounts. In one of them, I have a container that contains several Blobs. Let's move those Blobs to the other Storage account.

  1. Go to the Azure portal
  2. Open the Storage Account that contains the Blobs
  3. Navigate to the Data migration menu
  4. Click on the "Browse data migration tools" button. This will show all the options to migrate or move data in Azure Storage. There are many options, including the Azure CLI, Azure Data Factory, AzCopy and the Azure Storage Explorer. This last one is a GUI-based application that enables you to manage data in Azure Storage

Azure Storage data migration optionsAzure Storage data migration options

 

  1. We'll use the Azure Storage Explorer to manage Blobs. Go to http://aka.ms/storageexplorer (opens new window)and click Download now
  2. Use the downloaded file to install the Azure Storage Explorer on your machine and open it
  3. When prompted, sign into your Azure account
  4. Now you can see your Storage accounts and navigate through them. You can add and delete containers and Blobs. Navigate to the container that contains the Blobs, right-click on it and click "Copy Blob Container"

Copy Blob Container in the Azure Storage ExplorerCopy Blob Container in the Azure Storage Explorer

  1. Navigate to the other Azure Storage account, right-click the Blob Containers node and click "Paste Blob Container". This copies the entire container, including Blobs and properties, to the Storage account
  2. Click on the original container. This will reveal the Blobs in it
  3. Select all the Blobs and click on the Delete button in the top menu. This is needed to move the Blobs, as there is no cut and paste functionality

Alternatively, you can also copy the Blobs that you need and paste them in any container, including in containers of other Storage accounts.

 

Paste Blobs to a container in the Azure Storage ExplorerPaste Blobs to a container in the Azure Storage Explorer

Conclusion

The Azure Storage Explorer is a GUI-based tool that enables you to easily manage your data in Azure Storage. Create a trial account today and go and check it out!

Published on:

Learn more
Azure Developer Community Blog articles
Azure Developer Community Blog articles

Azure Developer Community Blog articles

Share post:

Related posts

This Month in Azure Static Web Apps | 09/2024

    We are back with another edition of the Azure Static Web Apps Community! :party_popper:   September was yet another month ...

1 year ago

GitHub Copilot for Azure: 6 Must-Try Features

As developers, we are constantly seeking tools that streamline our workflows and boost productivity. … Enter GitHub Copilot for Azure, now in ...

1 year ago

Responsible AI Mitigation Layers

Generative AI is increasingly being used in various kinds of systems to augment humans and infuse intelligent behavior into existing and new a...

1 year ago

Streamline Your Azure Workflow: Introducing GitHub Copilot for Azure in VS Code

I'm excited to announce the public preview of GitHub Copilot for Azure - a new addition to your toolkit that seamlessly integrates with G...

1 year ago

Build Intelligent Apps Code-First with Prompty and Azure AI

      Building Generative AI applications can feel daunting for traditional app developers. What does the end-to-end applicati...

1 year ago

Certificación AI-900 (Fundamentos de IA) con Chicas en IA

La inteligencia artificial ha llegado para quedarse, ¡y más aún con la revolucionaria IA generativa! Para ayudar a los profesionales a especia...

1 year ago

Get certified with Learn Live GitHub series!

GitHub Universe is coming, and Microsoft and GitHub are partnering to offer a new special Learn Live series in Brazilian Portuguese, English a...

1 year ago

Certifícate con Learn Live GitHub en Español

Microsoft y GitHub se han unido para ofrecer una nueva serie especial de Learn Live en inglés y español: GitHub 2024. Del 10 al 24 de Octubre,...

1 year ago

Evaluating generative AI: Best practices for developers

As a developer working with generative AI, you've likely marveled at the impressive outputs your models can produce. But how do you ensure the...

1 year ago

Introducing Azure Product Retirement Livestreams

The Azure Retirements team, in collaboration with key partner groups, is excited t...

1 year ago

Newsletter

Get the latest Dynamics 365 and Power Platform content in your inbox

A curated digest of community blogs, product news, videos, and podcasts — delivered without the noise.

Weekly updates Unsubscribe anytime Fresh community picks
We use your email only for the newsletter and you can unsubscribe at any time.
By subscribing, you agree to the privacy policy.