Hp XP Command View Advanced Edition Software Uživatelský manuál Strana 312

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 580
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 311
ExplanationScript text
#Tape backup of the secondary volume
[CMD]
CMDLINE=C:\tmp\tapebackup.bat
(9) Execute the next command without
waiting for the command to terminate.
TIMEOUT=NOWAIT ...(9)
(10) Treat a command return value that
is a value other than 0 as an error.
END_CODE=TERMINATE_NZ ...(10)
LOCATION=REMOTE
(11) Execute only when the backup
command is normal.
PARENT_STAT=NORMAL ...(11)
The following is an example of backing up the secondary volume to tape using tapebackup.bat:
rem Use NTBACKUP to execute the job Job1,and perform a copy backup of G:\ to tape Tape1
rem Set the backup comment passed to the DRMENV_COMMENT environment variable as the backup
job explanation
"C:\Windows\system32\ntbackup.exe" backup G:\ /j "Job1" /a /t "Tape1" /D "%DRMENV_COMMENT%"
/m copy
IF NOT "%errorlevel%"=="0" GOTO ERROR
rem After the tape backup, specify the backup ID imported to the backup server, and unmount
the secondary volume
"C:\Program Files\CVXPAE\DRM\bin\drmumount.exe" %DRMENV_R_BACKUPID%
IF NOT "%errorlevel%"=="0" GOTO ERROR
exit 0
:ERROR
exit 1
NOTE:
A line that begins with the characters rem is a comment line.
Backup execution example
An example of using a user script is shown below. If you specified LOCATION=REMOTE in the user
script, you must specify the -s option on the command line.
PROMPT> drmsqlbackup DEFAULT -script C:\tmp\script.txt -s BKHOST -auto_import -auto_mount G:
-comment TEST1
Operation for SQL Server databases312
Zobrazit stránku 311
1 2 ... 307 308 309 310 311 312 313 314 315 316 317 ... 579 580

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

Žádné komentáře