Anyone tried to use Get-VBRNASBackupFLRItem ?
I get a different number of files each time, also asking the same restore session twice ?
I use this:
Code: Select all
$NasServer = Get-VBRNASServer -Name $ShareName
$NasBackup = Get-VBRNASBackup -Name $JobName
$NasRestorepoints = Get-VBRNASBackupRestorePoint -NASServer $NasServer -NASBackup $NasBackup
$LatestRestorepoint = $NasRestorepoints | Sort-Object -Property Creationtime | Select-Object -Last 1
$FLRsession = Start-VBRNASBackupFLRSession -RestorePoint $LatestRestorepoint
$Filelist = Get-VBRNASBackupFLRItem -Session $FLRsession -Recurse
$filelist.count
Stop-VBRNASBackupFLRSession -Session $FLRsession