供您参考
创建备份代理作业 “Add-VBRComputerBackupJob -OSPlatform Windows -Type Server -Mode ManagedByBackupServer -BackupObject $IndividualServers -BackupRepository $repository -BackupType SelectedFiles - SelectedFiles C:\Users -Name Test_Job -Description $Description -ScheduleOptions $schedule -EnableSchedule” </p>
添加个人计算机:$Username = “veeam”</p>
$Password = ConvertTo-SecureString -String "Admin@123" -AsPlainText -Force
$Credentials = New-Object -TypeName "System.Management.Automation.PSCredential" -ArgumentList $Username, $Password"</p>
$Credentials = 获取凭据
$IndividualServers = New-VBRIndividualComputerCustomCredentials -HostName 172.19.51.50 -Credentials $Credentials
定义仓库:$repository = Get-VBRBackupRepository -ScaleOut -Name "REPO1_REPO3
说明:$Description = 由 Localhost\Administrator 创建
计划: $Monthly = New-VBRMonthlyOptions -DayNumberInMonth Last -DayOfWeek Monday -Period 22:00 $schedule = New-VBRServerScheduleOptions -Type Monthly -MonthlyOptions $Monthly
- 创建个人计算机备份对象的先决条件是什么?我需要一次为一台服务器创建备份作业。
我收到错误“无法验证参数'BackupObject'的参数。参数为空或为空。提供一个不为空或空的参数,然后重试该命令。 ”当我在powershell中使用上述cmdlet时...