Integrating HP Data Protector 6.1 with SAN Virtualization Services Platform

18
CleanPiT:
AllowExecErrors
# --- Resume application (if applicable)
DeletePiTOrSnapshot -name "_POINTINTIME1_", -TIMEOUT 10800
DisallowExecErrors
ExitScript:
Quit
Sample Post-exec Scripts
Filename
svsp_post_exec.bat
Contents
cd "<C:\Program Files\Omniback\bin>"
vsm_cli -sd <domain> <username> <password> -I post_exec_%SESSIONID:/=-%.txt
:: Delete session created scripts.
del pre_exec_%SESSIONID:/=-%.txt.bak
del post_exec_%SESSIONID:/=-%.txt.bak
del pre_exec_%SESSIONID:/=-%.txt
del post_exec_%SESSIONID:/=-%.txt
Filename
post_exec.txt
Contents
# Cleanup after last run.
AllowExecErrors
UnmountVirtualDisk -VirtualDisk "_SNAPSHOT1_"
DeletePiTOrSnapshot -name "_SNAPSHOT1_", -TIMEOUT 900
DeletePiTOrSnapshot -name "_POINTINTIME1_", -TIMEOUT 10800
DisallowExecErrors
Session Output
This section shows us the typical output after running the backup mentioned in the ZDB Integrated
with SVSP. The output might vary depending on your environment.
[Normal] From: BSM@cell.manager.name.hp.com "svsp_backup_specification.txt"
Time: 5/27/2009 6:32:35 PM
Starting to execute "svsp_pre_exec.bat"
on host backupHost...
C:\WINDOWS\system32>cd "C:\Program Files\OmniBack\bin"
C:\Program Files\OmniBack\bin>copy pre_exec.txt pre_exec_2009-05-27-28.txt
1 file(s) copied.
C:\Program Files\OmniBack\bin>copy post_exec.txt post_exec_2009-05-27-28.txt
1 file(s) copied.
C:\Program Files\OmniBack\bin>perl -pi.bak -e "s/_BACKUPHOST_/backupHost/g"
pre_exec_2009-05-27-28.txt
C:\Program Files\OmniBack\bin>perl -pi.bak -e "s/_STORAGEPOOL1_/my_pool/g"
pre_exec_2009-05-27-28.txt
C:\Program Files\OmniBack\bin>perl -pi.bak -e "s/_VIRTUALDISK1_/vdisk1/g"
pre_exec_2009-05-27-28.txt
C:\Program Files\OmniBack\bin>perl -pi.bak -e
"s/_MOUNTPOINT1_/C:\\mnt\\dir1\\/g" pre_exec_2009-05-27-28.txt
C:\Program Files\OmniBack\bin>perl -pi.bak -e "s/_POINTINTIME1_/pit1_2009-05-