veeam backup free edition планировщик задач
veeam backup free edition как заставить делать бекап автоматически?
Нашел на просторах интернета вот такой powershell скрипт который позволяет бекапить автоматически виртуальные машины.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
Param( [Parameter(Mandatory=$true)][string]$VM, [Parameter(Mandatory=$true)][string]$Destination, [Parameter(Mandatory=$true)][ValidateSet(0,4,5,6,9)][int]$Compression, [bool]$DisableQuiesce=$true, [Parameter(Mandatory=$true)][ValidateSet("Never","Tonight","TomorrowNight","In3days","In1Week","In2Weeks","In1Month")][string]$Autodelete ) #Load Veeam Toolkit & "C:\Program Files\Veeam\Backup and Replication\Backup\Initialize-VeeamToolkit.ps1" #Validate any parameters $vmentity = Find-VBRViEntity -Name $VM if ($vm -eq $null) { Write-Host "VM: $VM not found" -ForegroundColor "red" exit } if (-Not (Test-Path $Destination)) { Write-Host "Destination: $vmname not valid" -ForegroundColor "red" exit } if ($DisableQuiesce -eq $true) { Start-VBRZip -Entity $vmentity -Folder $destination -Compression $Compression -AutoDelete $Autodelete -DisableQuiesce } else { Start-VBRZip -Entity $vmentity -Folder $destination -Compression $Compression -AutoDelete $Autodelete } |
1 |
VeeamGo.ps1 –VM “VM_NAME” –Destination “DISK_NAME_AND_FOLDER” –AutoDelete “Never” –Compression 5 –DisableQuiesce $false |
Свежие комментарии