Creating a user script, Overview of user scripts – HP XP Array Manager Software User Manual

Page 201

Advertising
background image

For information on how to create a copy-group list file, see “

Creating a copy-group list file

” on page 160.

Checking the FTP service (if you are going to back up to tape)

Before extended commands can be executed for backup to a tape, settings for inter-server file transfer
must be specified.

Make sure that the following operations are possible when the FTP service is active.

Log on to the FTP server

File transmission and reception using FTP for inter-file servers or between the database server and
backup server

Make sure that inter-server FTP transmission and reception is possible between the directories indicated
in the table below.

Table 67 Directories used for inter-server FTP transmission and reception

Backup server

File server or database server

FTP_HOME_DIR-value

\

FTP_SUB_DIR-value

\

opera-

tion-ID

\BK

(the temporary directory for extended

commands)

dictionary-map-file-storage-directory

\script_work\

operation-ID

\DB

(the temporary directory for extended

commands)

Table 68 Directories used for inter-server FTP transmission and reception

Backup server

File server or database server

FTP_HOME_DIR-value

\

FTP_SUB_DIR-value

\

opera-

tion-ID

\BK

(the temporary directory for extended

commands)

dictionary-map-file-storage-directory

\script_work\

operation-ID

\DB

(the temporary directory for extended

commands)

Creating a user script

By specifying a user script when executing the backup command, you can simplify the backup operation
because the commands specified in the user script will execute during the backup operation.

You can enter the desired commands in a user script according to the coding rules for scripts. A user
script file is a file that contains user scripts.

Overview of user scripts

When you specify the

-script

option in the backup command, and then execute the backup

operation, commands specified in the user script can execute the following processing:

User pre-processing before the backup command is issued (

PRE_PROC

)

User post-processing after the backup command has been issued (

POST_PROC

)

User processing after pair resynchronization (

RESYNC_PROC

)

#

User processing after pair splitting (

SPLIT_PROC

)

#

User processing before the termination process (

FINISH_PROC

)

#

#

This processing is applicable only when you are backing up an SQL Server database.

Application Agent CLI User Guide

201

Advertising