v.Eremin wrote:In version 8 we've added new commandlet using which you can rescan VB&R entities:
- Code: Select all
$Repository = Get-VBRBackupRepository -Name "Name of your backup repository"
Rescan-VBREntity -Entity $Repository -Wait
Just specify this code as pre-job script.
In version 9.5 update 2 we have had to add -Wait option to wait for the rescanning command to finish before continuing with the replication job. Without the option, we usually ended replicating the next to last restore point from the backup.