Hp XP Array Manager Software Uživatelský manuál Strana 387

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 564
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 386
[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 387
Zobrazit stránku 386
1 2 ... 382 383 384 385 386 387 388 389 390 391 392 ... 563 564

Komentáře k této Příručce

Žádné komentáře