Quantcast
Channel: Backup – Windows and Windows Server forum
Viewing all articles
Browse latest Browse all 3323

Start-WBFileRecovery: The Specified backup storage is invalid

$
0
0

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


Viewing all articles
Browse latest Browse all 3323

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>