Hi Ankit Godara,
Welcome to Microsoft Q&A Forum, thank you for posting your query here!
The error with AzCopy is due to the limitation on the size of Page Blobs, which can only be up to 8TB. The error message indicates that the x-ms-blob-content-length
header value exceeds this limit.
Verify the Snapshot Size: Ensure that the snapshot size is indeed 8192 GiB (8 TiB). If it's slightly over, it might cause issues with the content-length header.
- Use the Correct Blob Type: AzCopy supports copying Page Blobs up to 8 TiB. Ensure that the destination blob is a Page Blob and not a Block Blob, as Block Blobs have different size limitations.
- Check AzCopy Version: Make sure you are using the latest version of AzCopy. You can download the latest version from https://learn.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-v10?tabs=dnf
- Specify the Blob Type: Explicitly specify the blob type in your AzCopy command.
Use Azure CLI as an Alternative: If AzCopy continues to give issues, you can use the Azure CLI to copy the snapshot.
Ensure there are no network issues that might be causing the header value to be incorrectly formatted. Check the AzCopy logs for more detailed error messages. This can provide additional insights into what might be going wrong.
If you have any other questions or are still running into more issues, let me know in the "comments" and I would be happy to help you