Forum Discussion

dge2016's avatar
dge2016
Level 2
9 years ago

Scripted restore selection problem (PowerShell)

I'm hoping somebody can help me, I've got a requirement to script the restore of imported tapes through a tape library on a Windows Backup Exec 2014 installation. I've had  success with scanning, ...
  • dge2016's avatar
    9 years ago

    figured it out :)

    I did a Get-BeAgentServer for the catalogued/foreign servers and then read in the drive letters and passed these into a restore job argument, adding wildcard paths

     

    Now I just need to figure out how to delete the imported servers after the restore job has run. They're in the All Servers group but this doesn't appear to be a valid selection when you run a remove-beagentserverfromgroup cmdlet.  A bit more playing is required I think :)