How to Copy Data from Azure Blob/File Storage

NIFTIT
NIFTIT SharePoint Blog
2 min readFeb 26, 2020

--

Microsoft Azure provides cloud storage that is secure, scalable, highly available, and easy to manage. It helps companies of all sizes store data in the cloud with the following services:

  • Azure Blob
  • Azure File
  • Azure Queue
  • Azure Table

READ MORE: Top 6 Free Websites for Keyword Research

More details on those services can be found here:

Azure Storage Explorer

Microsoft provides a graphical tool to manage the different storage services. Called Azure Storage Explorer, its features allow for the easiest management of your Azure Storage services.

The tool can be download at this link:
https://azure.microsoft.com/en-us/features/storage-explorer/

AzCopy — Command line

Azcopy is another helpful tool that allows administrators to manage Azure Storage via a command line. It offers many options, such as copying data between blob containers or between Azure Blob and Azure File.

Authentication:

In order to use AzCopy, you will need to be an authenticated user with the correct permissions.

azcopy login

The syntax to download or upload is as follows:

azcopy copy [source] [destination] [option]

Note: The option –recursive should be added in order to download/upload all sub-folders.

Between storage services or storage accounts:

The syntax is the same:

azcopy copy [source] [destination] [option]

Synchronization:

AzCopy can synchronize by comparing file names and last modified timestamps:

azcopy sync [source] [destination] [option]

The option –delete-destination with a “true” value deletes files in the destination if those files don’t exist in the source directory. Setting the value to “prompt” will also delete those files, but a prompt will be provided first.

More details:

https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-files

Read more: managing site hierarchy with SharePoint hub sites

Here at NIFTIT, we can handle all size of difficulties, from Office 365 to Sharepoint solution. We are happy to share our digital offering to you. learn more about our support here!

--

--

NIFTIT
NIFTIT SharePoint Blog

NIFTIT is a SharePoint development and design agency in New York, Vietnam & Hong Kong, dedicated to empowering users through nifty solutions.