Home > Protected Data Size Calculation > Azure VM, Azure Storage, and Azure SQL Database
Export to PDFFollow the instructions below to calculate the protected data size for Azure VMs, Azure storage, or Azure SQL databases.
Make sure you have downloaded the script package. Extract the package to locate the script for your desired service.
Sign into the Microsoft Azure portal and open the Cloud Shell window.
In the Cloud Shell window, execute the command lines from the corresponding script to check the protected data size for your desired service. For details on using the Azure Cloud Shell, refer to How to use the new user interface for Azure Cloud Shell.
Upon execution, the protected size data for the corresponding service will be listed.
Azure VM - The protected size of each VM and disk, and the total protected size.

Azure Storage - The protected size of each blob container and file share, and the total protected size.

Azure SQL Database - The AllocatedSpace size of each database and the total AllocatedSpace size.

To save the results, click Manage files and then click Download to download the output as a txt file.
