HP StorageWorks P9000 Replication Manager Software 7.1 CLI User Guide (TB584-96026, May 2011)
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 101 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.
Operation for SQL Server databases356