Outline of user script files, Points in time at which a user script is executed – HP Serveur lame HP ProLiant BL465c Gen8 User Manual

Page 357

Advertising
background image

Creating a user script to perform a backup in a cascade configuration

To perform backup in a cascade configuration, you need to create a user script file. This section
consists of the following topics:

Outline of user script files

Coding rules for user script files

Sample user script files

Outline of user script files

If the

drmsqlbackup

command is executed with the

-script

option specified, the command reads

the user-specified script file and, at the following points in time, executes the commands defined in
the script file:

After Business Copy pair resynchronization

While databases are frozen

After databases are thawed

The figure below shows points in time at which a user script is executed.

Figure 102 Points in time at which a user script is executed

The following are notes on the user script file:

If a command defined in the user script file does not actually exist, it will not be executed.

If the user script file includes the specification that local backup should not be performed (that is,

NO

is assigned to the

LOCAL_BACKUP

item), the

drmsqlbackup

command will simply execute

the user script, without performing pair resynchronization, pair splitting, or backup catalog creation
at the local site's secondary volume.

When a command specified in the user script file executes, the

drmsqlbackup

command waits

until the command specified in the user script file finishes or times out.

Application Agent CLI User Guide

357

Advertising