Execute on remote system | Check this box to execute the Pre/Post commands on the remote machine where the backup set's files are located. Leave this box unchecked to perform the Pre/Post commands on the local DS-Client computer. Note: This box is disabled if the backup set is on the local DS-Client computer. |
Perform this activity before backup / restore | |
Run command | Runs the command entered in the Command field. You must type "cmd /c" before the command if it is not the name of an executable file. (This command must not run anything that requires user input.) • Local machine - The DS-Client will terminate the process if it detects that the command requires user input. • Remote Windows - The backup set's Connect As information must have administrator privileges, since the Schedule service is used to run the command on the remote Windows machine. (The DS-Client only knows if the command has started to execute, and not whether it has completed. Therefore, you may wish to delay the start of the backup if the command will take a few minutes to finish). • UNIX - The rexec service must be running on the remote machine. |
Stop service | Stops the Service specified in the Command field. |
Start service | Starts the Service specified in the Command field. |
Run NCF (NetWare) | Runs the command batch file specified in the field on the remote NetWare server. All the rules for running NCF from the console are applied - if the NCF is not in the search path, you must provide the full path (sys:dir_name\name.ncf). The NCF file must be in 8.3 name format, since the console does not understand long file names. (Must have Console Operator Rights.) |
Unload NLM (NetWare) | Unloads the NLM (NetWare Loadable Module) specified in the field. (Must have Console Operator Rights.) |
Load NLM (NetWare) | Loads the NLM (NetWare Loadable Module) specified in the field. (Must have Console Operator Rights.) |
Command Field | Enter the command to perform. For Services, type the service name or use the >> button to select the service. |
Command Execution Results | Command Execution Results - You may specify conditions, based on the results of the command execution: • On exit code (Local commands) - Specifies the condition to be = (equal) or <> (not equal) to the exit code in the field to the right. This is useful if you know that the command will produce a particular exit code when finished. • On file existence - Specifies the condition to be whether a particular file exists or not. Enter the full path (include the drive on local machines; include the share but not the server on remote machines) in the field to the right. • On output string (Local commands & UNIX only) - Specifies the conditions to be whether the command output contains a particular string or not. Enter the string (case sensitive) in the field to the right. (If the output is large, only the first 16K are checked for occurrences of the string.) • On execution success - Specifies the condition applies if the command succeeds to execute. • On execution failure - Specifies the condition applies if the command fails to execute. • Or execution failure - Allows you to combine either the Exit Code, File Existence or Output String conditions with the Execution Failure condition. |
Don't perform post activity | Will not perform the Post Activity on fulfillment of the Command Execution Results. |
Don't Perform Backup/Restore | Will not perform the backup/restore on fulfillment of the Command Execution Results. |
Delay Backup/Restore [...] Sec | Allows you to delay the backup/restore. This is useful in cases where the command activates background processes responsible for creating data for backup. Also allows time for the pre activity to terminate properly. |
Perform this activity after backup / restore | |
Perform this Activity After Backup. | Each of the following activities are the same as for Pre-Backup: • Run command. • Stop service. • Start service. • Run NCF (NetWare). • Unload NLM (NetWare). • Load NLM (NetWare). |
Command Field | Enter the command to perform. For Services, type the service name or use the >> button to select the service. |
Don't perform Post activity if | Will not perform the Post Activity if the backup / restore: • Always perform - Will always perform the Post Activity. • Successful - Will not perform if the backup/restore was successful. • With errors - Will not perform if the backup/restore had errors. • Incomplete - Will not perform if the backup/restore was incomplete. |
Test Pre Test Post | Click to test the command in the Pre or Post section. A results screen appears, displaying whether the command executed, the exit code, and the Execution condition. NOTES: 1. Do not use Test Pre with the Delay option, since a delay of over 60 seconds will result in a Timeout message. 2. Using Test with some Pre/Post commands like Stop Service/Start Service, will only accomplish the first part (i.e. only the Pre command), effectively rendering a service 'stopped' until manually restarted. |