Share via

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

Jagadish Pallamala 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 answer

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

    Hi @Jagadish Pallamala ,

    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

    Was this answer helpful?

    0 comments No comments

Your answer

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