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.
- Go to the Azure portal
- Open the Storage Account that contains the Blobs
- Navigate to the Data migration menu
- 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
- We'll use the Azure Storage Explorer to manage Blobs. Go to http://aka.ms/storageexplorer (opens new window)and click Download now
- Use the downloaded file to install the Azure Storage Explorer on your machine and open it
- When prompted, sign into your Azure account
- 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"
- 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
- Click on the original container. This will reveal the Blobs in it
- 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.
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 moreRelated posts
Getting Started with Bicep: Simplifying Infrastructure as Code on Azure
Bicep is an Infrastructure as Code (IaC) language that allows you to declaratively define Azure resources, enabling automated and repeatable d...
How Azure AI Search powers RAG in ChatGPT and global scale apps
Millions of people use Azure AI Search every day without knowing it. You can enable your apps with the same search that enables retrieval-augm...
Episode 388 – Getting Started with Azure Bicep: Infrastructure as Code with a Domain Specific Language
Welcome to Episode 388 of the Microsoft Cloud IT Pro Podcast. In this episode, we dive into Azure Bicep, Microsoft’s streamlined language for ...
RAG with SQL Vector Store: A Low-Code/No-Code Approach using Azure Logic Apps
Data is at the heart of every AI application, and efficient data ingestion is critical for success. With over 1,400 enterprise connectors, Log...
Exciting Announcement: Public Preview of Native Vector Support in Azure SQL Database!
Public Preview of Native Vector Support in Azure SQL Database We are excited to share that the dedicated vector data type in Azure SQL Databas...
Scaling Azure Container Apps for Peak Performance
Unlock the full potential of Azure Container Apps with smart scaling! In this final part of our series, explore how to keep your apps responsi...