Script2.txt (used for backup) – HP XP Command View Advanced Edition Software User Manual
Page 385
![background image](/manuals/397926/385/background.png)
[POST_PROC]
: Executes the
remote_sqlrestore.bat
batch file. The contents of
remote_sqlrestore.bat
mount the secondary volume and execute the restore command with
the
-no_resync
specification and the recovery command.
•
remote_sqlrestore.bat
@echo off
@drmmount -copy_group VG01,VOL11 -mount_pt F:
if NOT "%ERRORLEVEL%"=="0" GOTO ABEND
@drmmount -copy_group VG01,VOL12 -mount_pt G:
if NOT "%ERRORLEVEL%"=="0" GOTO ABEND
@drmsqlrestore %DRMENV_R_BACKUPID% -no_resync -nochk_host
-instance instB
if NOT "%ERRORLEVEL%"=="0" GOTO ABEND
@drmsqlrecover instB
if NOT "%ERRORLEVEL%"=="0" GOTO ABEND
GOTO END
:ABEND
exit 1
:END
exit 0
script2.txt (used for backup)
LOCAL_BACKUP=YES
#Post-backup user script section
[POST_PROC]
#Normal case
[CMD]
CMDLINE=C:\user\remote_tapebackup.bat
END_CODE=1
TIMEOUT=NOWAIT
LOCATION=REMOTE
PARENT_STAT=NORMAL
[PRE_PROC]
: None
[POST_PROC]
: Executes the
remote_tapebackup.bat
batch file. The contents of
remote_tapebackup.bat
use the
NetBackup
command to back up the database on the secondary
volume to tape and unmount the secondary volume.
•
remote_tapebackup.bat
Application Agent CLI User Guide
385
- StorageWorks MSL6000 Tape Library (61 pages)
- Лент-е накопители HP StoreEver DAT (64 pages)
- Лент-е накопители HP StoreEver DAT (50 pages)
- Linear Tape File System Software (25 pages)
- StoreEver Ultrium Tape Drives (78 pages)
- StoreEver Ultrium Tape Drives (76 pages)
- Linear Tape File System Software (20 pages)
- StoreEver Ultrium Tape Drives (61 pages)
- StoreEver TapeAssure Software (40 pages)
- StoreEver Ultrium Tape Drives (75 pages)
- StoreEver Ultrium Tape Drives (60 pages)
- Linear Tape File System Software (28 pages)
- 2600fx Optical Disk Drive (65 pages)
- Ленточный автозагрузчик HP StorageWorks DAT 72x10 (58 pages)
- StorageWorks 1000 Modular Smart Array (72 pages)
- StorageWorks 1000 Modular Smart Array (81 pages)
- StorageWorks 1500cs Modular Smart Array (48 pages)
- StorageWorks 1500cs Modular Smart Array (52 pages)
- StorageWorks 1500cs Modular Smart Array (71 pages)
- 2000fc Modular Smart Array (150 pages)
- Servidor de almacenamiento HP ProLiant DL585 G2 (152 pages)
- Sistemas de almacenamiento de red HP StorageWorks X3000 (152 pages)
- Software de HP StoreVirtual VSA (127 pages)
- Software de HP StoreVirtual VSA (85 pages)
- X500 Data Vault (331 pages)
- StorageWorks 1000i Virtual Library System (122 pages)
- XP Array Manager Software (101 pages)
- StorageWorks XP Remote Web Console Software (20 pages)
- 200 Storage Virtualization System (176 pages)
- StorageWorks MSA 2.8 SAN Switch (22 pages)
- StorageWorks MSA 2.8 SAN Switch (104 pages)
- StorageWorks MSA 2.8 SAN Switch (270 pages)
- StorageWorks MSA 2.8 SAN Switch (307 pages)
- StorageWorks All-in-One SB600c Storage Blade (78 pages)
- StorageWorks All-in-One SB600c Storage Blade (60 pages)
- StorageWorks All-in-One SB600c Storage Blade (72 pages)
- StorageWorks All-in-One SB600c Storage Blade (80 pages)
- ProLiant DL585 G2 Storage-Server (150 pages)
- Data Protector Express Basic-Software (83 pages)
- Data Protector Express Basic-Software (93 pages)
- ProLiant High Availability Storage Server (72 pages)
- ProLiant DL185 G5 Storage Server (174 pages)
- StorageWorks 2000fc G2 Modular Smart Array (76 pages)
- 2000I G2-Modular-Smart-Array (48 pages)
- P2000 G3 MSA Array Systems (58 pages)