Pre and Post options let you run commands before and after jobs execute.
The list that follows describes commands that you can run using Pre and Post options.
Be aware of the following behavior when using Pre and Post options:
For example, a user submits a backup job consisting of nodes A and B. A Pre option is specified as a global option and a Pre option is specified for node B. Immediately before the job runs, the global Pre option executes. While the job is running, the Pre option specified for node B executes before node B is backed up.
Enter the path to and name of the file to be executed on the machine before the job takes off.
Enter the path and name of the file to be executed on the machine after the job is completed.
Specify for a command not to run if CA ARCserve Backup detects that a job fails, a job is incomplete, or a job is complete.
Note: This option is not available when you are using CA ARCserve Backup to manage a UNIX or Linux based server.
The User Name and Password corresponds to the system of the host server selected, and is required to check the system privileges on that server.
The user name and password entered into these fields should not be confused with the CA ARCserve Backup User Name and Password.
Example: Submitting a Job Using Pre and Post Commands
A user submits a job that backs up local volume C. The user wants to check and fix errors using chkdsk.exe on local volume C before local volume C is backed up. After the job is complete, the user wants to generate an error report using CAAdvReports.exe.
The command that follows checks and fixes errors on local volume C before the backup job starts.
chkdsk.exe C: /F", On Exit Code = 0, Run operation immediately
The command that follows generates an error reports and saves it in a specified location.
CAAdvReports.exe -reporttype 5 -maxSize 5 -Server DUVDO01 -outfile "C:\Program Files (x86)\CA\ARCserve Backup\Reports\Backup Error Report_data.xml" -PastDays 1 -AutoName
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |