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

Script to Restore latest backup from portable drive

$
0
0

We are trying to write a script to automate the Restore of the most recent Windows Server Backup from a portable drive?

First part is to write a script to reload the backup catalog from the portable drive.  What we have so far is:

$Bt = "\\?\Volume{58895c2e-a4f6-4143-8be0-83c858f516cc}\"
Restore-WBCatalog -BackupTarget $Bt -Force

But that doesn't work because it doesn't seem to like to volume label.

The second part is creating a command to start a WBAdmin restore using the latest latest volume to recover.  This is where I could do with a few clues if anyone has any.

Thanks,

  Nick



Viewing all articles
Browse latest Browse all 3323

Trending Articles



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