This option allows you to store each VM in a separate backup file enhancing backup performance when backing up to deduplicating storage.
However, this option won't take place, unless you run manually active full backup.
The following script is supposed to make your life easier. It finds repositories with corresponding option enabled and ,then, executes an active full backup for the jobs pointed to these repositories.
Code: Select all
asnp VeeamPSSNapin
foreach ($Repository in (Get-VBRBackupRepository | where {$_.Options.OneBackupFilePerVm -eq $True}))
{
foreach ($Job in (Get-VBRJob | where {$_.JobType -eq "Backup" -or $_.JobType -eq "BackupSync" -and $_.FindTargetRepository().name -eq $Repository.name}))
{
if ($Job.JobType -eq "Backup")
{
Start-VBRJob -Job $Job -FullBackup
}
else
{
Sync-VBRBackupCopyJob -Job $Job -FullBackup
}
}
}
Thanks.