Synology to Azure

Mason Support 20 Reputation points
2024-08-01T16:09:34.2833333+00:00

Hi

I have set up cloud synch to Azure Blob container but I need the Azure blob files to go into Azure File shares, how do I do this as I can't see a quick way to do it?

I have 1.6TB in Blob, that needs to move over to Azure File Shares

TIA

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,236 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,700 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vlad Costa 1,010 Reputation points
    2024-08-01T22:41:28.55+00:00

    Hi,

    To move your files from an Azure Blob container to Azure File Shares, you can use the AzCopy tool, which is a command-line utility designed for copying and synchronizing files between storage accounts. Here’s a step-by-step guide to help you:

    1. Install AzCopy:

    2. Generate SAS Tokens:

    • Create Shared Access Signatures (SAS) for both your source Blob container and your destination File Share. This will allow AzCopy to access your storage accounts securely.

    3. Use AzCopy to Sync Files:

    • Open your command prompt or terminal and use the following command to sync your files:
         azcopy sync "https://<sourceaccount>.blob.core.windows.net/<container-name>?<SAS>" "https://<targetaccount>.file.core.windows.net/<fileshare-name>?<SAS>" --recursive=true
    
    • Replace <sourceaccount>, <container-name>, <SAS>, <targetaccount>, and <fileshare-name> with your actual account names, container name, and SAS tokens.

    4. Monitor the Transfer:

    • AzCopy will display the progress of the transfer. Given the size of your data (1.6TB), this process might take some time.

    5. Verify the Transfer:

    • Once the transfer is complete, verify that all files have been successfully copied to your Azure File Share.

    If this answers your question, please click Accept Answer and Yes if this answer was helpful. Doing so would help other community members with similar issues identify the solution. I highly appreciate your contribution to the community.


3 additional answers

Sort by: Most helpful
  1. Nehruji R 5,001 Reputation points Microsoft Vendor
    2024-08-02T11:05:08.4766667+00:00

    Hello Mason Support,

    Greetings! Welcome to Microsoft Q&A Platform.

    To move your files from Azure Blob Storage to Azure File Shares, there are certain tools you can try using in this type of scenarios like AzCopy ,Azure batch and Azure Data factory.

    AzCopy is a command-line utility that you can use to copy blobs or files to or from a storage account and by default copies data between two storage endpoints asynchronously. Therefore, the copy operation will run in the background using spare bandwidth capacity that has no SLA in terms of how fast a blob will be copied, and AzCopy will periodically check the copy status until the copying is completed or failed. The /SyncCopy option ensures that the copy operation will get consistent speed - https://learn.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-v10?WT.mc_id=AZ-MVP-5001086&tabs=dnf, https://learn.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-files.

     

    Try using Azure Databox gateway which can sync with blobs for large size data transfer- https://learn.microsoft.com/en-us/azure/databox-gateway/data-box-gateway-overview?WT.mc_id=AZ-MVP-5001086.

    By following these any of the above methods, you can efficiently transfer your 1.6TB of data from Azure Blob Storage to Azure File Shares.

     

    Similar SO thread for reference: https://stackoverflow.com/questions/68819833/how-to-synchronize-file-systems-to-azure-blob-storage-without-using-azcopy

    Hope this answer helps! Please let us know if you have any further queries. I’m happy to assist you further.


    Please "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

  2. Mason Support 20 Reputation points
    2024-08-02T14:46:56.3+00:00

    I used Azure file explorer instead and it moved all the files over in like 30 mins

    0 comments No comments

  3. Mason Support 20 Reputation points
    2024-08-02T14:47:57.0033333+00:00

    i used Azure file explorer and moved the files over very quickly took about 30 mins

    0 comments No comments