ビデオヘルプ

BEMCLI and Replication Manager

作成: 08 Mar 2013 | コメント数: 1

Hi all!

I make SQL Snapshots (SS) with Replication Manager (RM) Software from EMC Storages.

Now I want to integrate the SS Job with a Backup Exec 2012 Job, that copy the SS to tape or disk space.

On RM i had the option to run a script after mountin de SS on Backup Host. Lookin for a solution, I found BEMCLI!!!

I write a BAT file  that call a PowerShell (PS) script, that contain the Start-BEJob order.

Everithing works fine, but there is a detail:

RM waits until the BE job finish. I think that RM waits that the BAT file finish, the BAT file wait tha PS finish, and PS waits that BE Job finish. There is any way to force PS scripts launch the job and inmediatly exit???

Scripts:

BAT:

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Users\Administrator\Desktop\RM_Mount.ps1
exit

PS1:

import-module "\program files\symantec\backup exec\modules\bemcli\bemcli"

get-bejob -name "RM_Mount-Backup" | start-bejob -confirm:$false

exit
 

Any suggestion??

Thanks!!!

Diego Santoni

Mendoza, Arg.

オペレーティングシステム

コメント 1 Comment最新のコメントを表示

pkh の写真

I think your problem is that your batch file is not running.  Try this instead

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe "C:\Users\Administrator\Desktop\RM_Mount.ps1"