question

KalaimaniThirupathi-5306 avatar image
0 Votes"
KalaimaniThirupathi-5306 asked KalaimaniThirupathi-5306 commented

Get Azure Backup Size using Powershell

Dear All,

Is there any way to get the azure VM backup size using PowerShell? Can someone help me with this, please?

azure-monitorazure-backup
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@KalaimaniThirupathi-5306 - Did the below answer help resolve your issue, if not please revert back with any questions.
and it it did, please feel free to "accept as answer" so it can beneficial to the community.

0 Votes 0 ·
Monalla-MSFT avatar image
0 Votes"
Monalla-MSFT answered KalaimaniThirupathi-5306 commented

@KalaimaniThirupathi-5306 - Thanks for reaching out.

The below command Get-AzRecoveryServicesBackupJobDetail cmdlet gets Azure Backup job details for a specified job. Set the vault context by using the -VaultId parameter.

Get-AzRecoveryServicesBackupJobDetail
[-Job] <JobBase>
[-UseSecondaryRegion]
[-VaultId <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]

And for a total accumulated size, we dont a specific single command for that.

But, please go through the document for more details : Configure-Reports

Hope this helps.

If the above response helped, Please feel free to "Accept as Answer" so it can be beneficial to the community.


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Sorry, I went through it already. This is not helping. I am looking for an azure backup restore point size.

0 Votes 0 ·
Monalla-MSFT avatar image
0 Votes"
Monalla-MSFT answered KalaimaniThirupathi-5306 commented

@KalaimaniThirupathi-5306 - Thanks for providing your response.

  • If you're referring to getting the backup storage consumed per VM - currently the only way to get this is using Log Analytics. You can configure your vaults to send data to an LA workspace and then query the workspace to get storage consumed per VM.
    backup-azure-diagnostic-events
    Once data is flowing into an LA workspace, you can use LA APIs to query this data programmatically, or you can use the out-of-box reporting solution.

  • But there is no direct way to get the backup size for a particular restore point. But they can get the amount of data transferred by a backup job which is indicative of the restore point size. Like I mentioned above, using

    Get-AzRecoveryServicesBackupJobDetail

    command, you can use the job etails. properties field which contains a property called 'Backup size'

Hope this helps.

If the above response helped, Please feel free to "Accept as Answer" so it can be beneficial to the community or feel free to reach back out for any further questions.



· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

No Sir. I'm looking for the Azure backup restore point size. When using the Get-AzRecoveryServicesBackupJobDetail, we were able to get the detail but not proving the active/ available restore point. It gives all backup history. I 4looking for the only available restore point size.

0 Votes 0 ·