HP XP7 Replication Manager Application Agent CLI User Guide (TK981-96015, May 2014)

Determination of a mount target ................................................................................... 180
Preparations required before executing extended commands ........................................................ 180
Checking the prerequisite conditions ................................................................................... 181
Execution permissions for extended commands .............................................................. 182
Automatic execution of extended commands ................................................................. 182
Prerequisite VBScript version ........................................................................................ 182
Deletion of unnecessary files ....................................................................................... 182
Setting up an FTP service for backing up to tape .................................................................. 183
Specifying how to start the extended commands ................................................................... 183
Creating a host environment settings file .............................................................................. 184
Creating operation IDs ...................................................................................................... 185
Creating operation definition files for file system backup ........................................................ 186
Deployment of operation definition files ........................................................................ 186
Format of operation definition files ............................................................................... 187
Example of creating operation definition files (in a cluster configuration) ........................... 188
Creating operation definition files for SQL Server database backup ........................................ 190
Deployment of operation definition files ........................................................................ 191
Format of operation definition files ............................................................................... 191
Example of creating operation definition files ................................................................ 193
Creating operation definition files for Exchange database backup .......................................... 195
Deployment of operation definition files ........................................................................ 195
Format of operation definition files ............................................................................... 196
Example of creating operation definition files ................................................................ 198
Checking the temporary directory for extended commands .................................................... 200
Checking the copy-group list file ......................................................................................... 200
Checking the FTP service (if you are going to back up to tape) ............................................... 201
Creating a user script .............................................................................................................. 201
Overview of user scripts .................................................................................................... 201
Coding rules for user scripts ............................................................................................... 202
Coding rules for user scripts ........................................................................................ 202
Entries in user scripts .................................................................................................. 203
Script environment variables ........................................................................................ 209
Command execution permission ................................................................................... 209
Commands that can be specified in user pre-processing and user post-processing .............. 209
Examples of user script usage ............................................................................................ 211
Specifying settings for sending mail .......................................................................................... 211
Backing up the Application Agent operating environment ............................................................. 213
Files that need to be backed up ......................................................................................... 213
Application Agent environment setting files and log files ................................................. 213
Definition files created after the installation of Application Agent ...................................... 214
Application Agent backup information .......................................................................... 214
Recovering the operating environment ................................................................................. 216
Recovering operating environment (common among servers) ........................................... 216
Recovering backup information (file server) .................................................................... 217
Recovering backup information (database server) ........................................................... 217
Restoring backup information (backup server) ................................................................ 217
Creating the Exchange environment configuration file .................................................................. 218
4 Application Agent operations .......................................................... 221
Application Agent commands .................................................................................................. 221
Extended commands ........................................................................................................ 221
Basic commands .............................................................................................................. 222
Correspondence between extended commands and basic commands ........................................... 222
Precautions on operations ........................................................................................................ 225
6