Hi All,
I am having issues getting the following to work automatically. It seems to work when run manually. I've never really dealt with VCB and Netbackup before to I don't understand it.
I have downloaded the following bpstart_notify.bat from VMware:
echo backup started on %1 using policy %2, bpres = %6 >> bin\BP_RES.txt
call "%VCBBASE%\netbackup\pre-command.bat" %2
echo %errorlevel% > %6
Here is the contents of pre-command.bat
@ECHO OFF
REM A workaround around the fact that only the first 10
REM command line options are easily accessible in a DOS
REM batch file.
shift
set arg=%0
set jobname=%0
:loop
shift
IF %0.==. GOTO save
SET arg=%arg% %0
GOTO loop
:save
REM Call into the VCB framework.
for /f %%i in ('"%VCBBASE%\netbackup\gettimestamp.bat"') do set timestamp=%%i
cscript /nologo "%VCBBASE%\netbackup\command.wsf" -pre "%VCBBASE%" %arg% > "%temp%\pre_%jobname%%timestamp%.log" 2>&1
@ECHO OFF
Has anyone got any ideas?
Thanks
Mike.
Which version of NetBackup are you using?
Why you do not use the native integration with VCB?
Andre
**if you found this or any other answer useful please consider allocating points for helpful or correct answers
Hi Andre,
I have spoken to our backup guy and he tells me we are using NetBackup 6.0 MP7.
Could explain what native integration with VCB is? I.m not familiar with this as I've not done much backup configuration.
Thanks.
I have spoken to our backup guy and he tells me we are using NetBackup 6.0 MP7.
ok... no native integration (if only for 6.5.2).
Could explain what native integration with VCB is?
A way to make VM backup inside NetBackup. You have some new menu to specify VCB proxy, and you can select VMs from you backup policy.
http://vmetc.com/2007/12/07/live-demonstration-of-vcb-and-netbackup/
Andre
**if you found this or any other answer useful please consider allocating points for helpful or correct answers
Hi Andre,
We have logged a support call wilth our software provider.
Thanks for your input.
You're welcome.
Andre