I'm trying to get a scheduled restore going at our DR site. We replicate all of the backups over using a pair of DataDomain boxes, and when I restore using the console it works fine. Unfortunately, I think that the only way to get a scheduled restore going is to script it through powershell, and I'm running in to a problem.
I do have a case opened on this, so if support gets back to me I'll update with the solution. The case number is 00203432.
What I'm currently testing to import is:
Code: Select all
Add-PSSnapin -Name VeeamPSSnapin
Net Use Z: /Delete
Net Use Z: \\DDServerName\Veeam /User:AUser ThisisNOTthePassword
$sVeeamBackup = "Z:\Exchange\ExchangeBackupFileName.vbk"
$sVeeamServer = Get-VBRServer | where {$_.Type -eq "Local"}
Import-VBRBackup -Server $sVeeamServer -FileName $sVeeamBackup
In my testing I have tried running the commands from the Z:\Exchange folder, so I know the file path is working. I've also tried just calling the filename from Powershell, which causes the restore function to start in the GUI, which makes me pretty sure the file is there...Path[z:\Exchange\ExchangeBackupFileName.vbk] not found.
Has anyone else seen this problem? If so, how did you get past it?
Thanks,
D