I am trying to pull azure backup report using recovery service vault. I am using az backup job list but not able to pull backup job list for mabs
I am trying to pull azure backup report using recovery service vault. I am using az backup job list but not able to pull backup job list for mabs
Also, I need to filter using date time for the job report.In my environment jobs are scheduled like yesterday 10pm to today 10pm..
Please help me with the command
2
Answers
I want to automate this script as task scheduler and this script will run every day. So, I need the filter in that time frame, so that this script will pull report every day ...not a particular date.
To pull
Azure backup
job list using the Azure CLIaz backup job list
command forAzure Backup Server
and filter the job report based on a specific Date and Time range, you can use belowPowerShell
command.Output:
Reference: List all backup jobs of a Recovery Services vault.