使用Powershell在特定的备份保管库中获取作业详细信息 [英] Fetching Job Details in specific backup vault using powershell

查看:58
本文介绍了使用Powershell在特定的备份保管库中获取作业详细信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Powershell提取作业详细信息,我正在按照以下步骤操作,备份类型为

I am trying to extract the job detail using powershell i am following below steps and backup type is Files and folders

1.

Get-AzureRmRecoveryServicesVault-名称库名称" | Set-AzureRmRecoveryServicesVaultContext

2.

$ container = Get-AzureRmRecoveryServicesBackupContainer -ContainerType Windows -FriendlyName" 文件库名称" -BackupManagementType MARS

$container=Get-AzureRmRecoveryServicesBackupContainer -ContainerType Windows -FriendlyName "vault name" -BackupManagementType MARS

Get-AzureRmRecoveryServicesBackupItem-容器$ container -WorkloadType 

Get-AzureRmRecoveryServicesBackupItem -Container $container -WorkloadType 

我不确定要在工作负载类型中传递什么参数,为此我尝试使用AzureVM和AzureSQLDatabase,但出现以下错误

请帮助.

多愁善感的开发者潘迪(Pandey)独享,请记住,如果有帮助,请将其标记为答案

Prashant Dev Pandey LIVE IN YOUR OWN WAY Please remember to mark the replies as answers if they help

推荐答案

下载最新版本的PowerShell

Download the latest version of PowerShell  and try the following command and let us know the status.

Get-AzureRmRecoveryServicesBackupItem -BackupManagementType azurevm -Name "name of the VM" -WorkloadType AzureVM


这篇关于使用Powershell在特定的备份保管库中获取作业详细信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆