I cannot seem to get this to work: HP Data Protector 6.0 HP/Vmware VCB
I keep getting the following error in the session log:
C:\Program Files\OmniBack\bin\vcbmount.js(318, 2) Microsoft JScript runtime error: Permission denied
or I will get a vcbmount.js: file not found,
I have checked the registry the VCB install location exists, I have added the omnidb directory to the windows PATH as well.
My preexec sript looks like this (supplied by HP)
@echo off
FOR /F "tokens=2* delims= " %%A IN ('REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Hewlett-Packard\OpenView\OmniBackII\Common" /v HomeDir') DO SET omniDir=%%B
set omniBin=%omniDir%bin
cscript.exe "%omniBin%\vcbmount.js" %*
here is a copy of my datalist:
DATALIST "VMware-VCB_multipleVMBackup"
GROUP "VMWare"
DYNAMIC 1 1
DEFAULTS
{
FILESYSTEM
{
-no_storedrim
-no_share_info
} -protect none
RAWDISK
{
}
}
DEVICE "VCB_LTO_8"
{
-pool "Scratch"
}
WINFS "VM1" vcb.domain.com:"/D"
{
-trees
"/VCBMount"
-profile
-pre_exec "vmwarepreexec.cmd -a VM1 -r d:\VCBMount -t fullvm"
-post_exec "vmwarepostexec.cmd"
} -protect none -keepcatalog none
WINFS "VM2" vcb.domain.com:"/D"
{
-trees
"/VCBMount"
-profile
-pre_exec "vmwarepreexec.cmd -a VM2 -r d:\VCBMount -t fullvm"
-post_exec "vmwarepostexec.cmd"
} -protect none -keepcatalog none
WINFS "VM3" vcb.domain.com:"/D"
{
-trees
"/VCBMount"
-profile
-pre_exec "vmwarepreexec.cmd -a VM3 -r d:\VCBMount -t fullvm"
-post_exec "vmwarepostexec.cmd"
} -protect none -keepcatalog none