Need AZ or RM module powershell script/command to get last backup job start and end time for Azure VM

Jagadish P 1 Reputation point
2020-09-16T10:52:42.3+00:00

Hi,

I have multiple servers running in the Azure cloud in multiple subscriptions and backup is configured for those servers into the Azure recovery service vault.
I need a Powershell RM or AZ module script or commands to get the last backup job start time and end time.
Please help, Thanks.

Azure Backup
Azure Backup
An Azure backup service that provides built-in management at scale.
1,174 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Leon Laude 85,716 Reputation points
    2020-09-16T12:41:00.557+00:00

    Hi @Jagadish P ,

    You can make use of the Get-AzureRmBackupJob PowerShell cmdlet to retrieve your backup jobs' statuses.

    For example:

    The command below will retrieve the completed backup jobs for a specific Azure Recovery Vault:

    25108-get-backupjobs.png

    If you want more details about the backup jobs, you can use the Get-AzureRmBackupJobDetails PowerShell cmdlet.

    ----------

    (If the reply was helpful please don't forget to upvote or accept as answer, thank you)

    Best regards,
    Leon

    0 comments No comments