HP Serveur lame HP ProLiant BL465c Gen8 User Manual

Page 367

Advertising
background image

Description

Script code

(26) Checks the

sql02

pair

status.
Waits until the

sql02

status

becomes

PSUS

.

CMDLINE=C:\HORCM\etc\pairevtwait.exe -g TC01

-d sql02 -s psus -t 600 -FBC 0 ...(26)

(27) Specifies an instance num-
ber.

ENV=HORCMINST=0 ...(27)

(28) If a non-zero return value
returns, the script will terminate
with an error.

END_CODE=TERMINATE_NZ ...(28)

(29) Waits for command termin-
ation.

TIMEOUT=0 ...(29)

(30) User processing for termin-
ation

[FINISH_PROC] ...(30)

[CMD]

(31) Specifies shell script execu-
tion.

CMDLINE="C:\Program Files\ORIGINAL\TERM.wsf" ...(31)

(32) You should assign

IGNORE

to

END_CODE

in the

FIN-

ISH_PROC

item if

LOC-

AL_BACKUP

is

YES

.

END_CODE=IGNORE ...(32)

#script end

Backing up an SQL Server database in a cascade configuration

This section explains the steps for backing up an SQL Server database at the remote site secondary
volume (backup in a cascade configuration). The sample procedure provided here assumes that
multi-target backup is not to be performed; that is to say, the database is to be backed up only at the
remote site secondary volume, not at the local site's secondary volume. For details on how to perform
multi-target backup, see “

Example of backing up an SQL Server database

” on page 338.

To back up an SQL Server database in a cascade configuration:

Application Agent CLI User Guide

367

Advertising