Hp XP Command View Advanced Edition Software Manual de usuario Pagina 385

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 574
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 384
[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
Vista de pagina 384
1 2 ... 380 381 382 383 384 385 386 387 388 389 390 ... 573 574

Comentarios a estos manuales

Sin comentarios