Hello,
I'm creating a script to automatize my Wsus offline. I created a backup from the source server and I want to restore it on the destination server using powershell Server backup cmdlets.
Here is what I've done so far:
on the source server:
wsus is on E:\Wsuscontent
I backup to a USB drive I:\
On the destination server:
Wsus is on e:\wsuscontent
Backup is on \\mynas\backup
To restore I use:
$BackupLocation = New-WBBackupTarget -NetworkPath "\\mynas\backup" $Backups = Get-WBBackupSet -BackupTarget $BackupLocation -MachineName SourceServer Start-WBFileRecovery -BackupSet $Backups -NoRestoreAcl -Option SkipIfExists -SourcePath "E:\wsuscontent" -TargetPath "E:\" -Force
And I get the following error: "Start-WBFileRecoverry: The specified backup storage location is invalid."
any idea ?
Regards,
Jon
MCITP Enterprise Administrator / Server Administrator