We are not able to copy the Db backup file from local network share path to Azure Blob container.

Thyagarajulu B M 121 Reputation points
2023-04-24T16:22:54.2633333+00:00

Hi Team, When we are trying to copy the database backup file from the local network share path to the Azure blob container using the AzCopy tool, we are getting an error. But able to transfer some size files. "Error Message: Fatal Error: Out of Memory" Current DB backup file size: 320 GB Kindly help me on this issue.

Azure Storage
Azure Storage
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,529 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,192 questions
{count} votes

Accepted answer
  1. Sedat SALMAN 14,180 Reputation points MVP
    2023-04-26T06:29:40.5166667+00:00
    • Use the --block-size flag: You can control the block size used by AzCopy when uploading files. Using a smaller block size might help to reduce memory consumption. For example, you can set the block size to 8 MB by using the following command:
    
    azcopy cp "<local_file_path>" "https://<storage_account>.blob.core.windows.net/<container_name>/<file_name>?<SAS_token>" --block-size 8388608
    
    
    
    • Use the --cap-mbps flag: Limiting the throughput of AzCopy can help reduce memory usage. To limit the throughput to a specific value in megabits per second, use the --cap-mbps flag followed by the desired value:
    
    azcopy cp "<local_file_path>" "https://<storage_account>.blob.core.windows.net/<cont
    
    
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.