1 pre-backup command, 2 post-backup command, 18 pre/post data capture commands – Acronis Backup for PC - User Guide User Manual
Page 92
92
Copyright © Acronis International GmbH, 2002-2014
4.7.17.1 Pre-backup command
To specify a command/batch file to be executed before the backup process starts
1. In the Command field, type a command or browse to a batch file. The program does not support
interactive commands, i.e. commands that require user input (for example, "pause".)
2. In the Working directory field, specify a path to a directory where the command/batch file will
be executed.
3. In the Arguments field specify the command’s execution arguments, if required.
4. Depending on the result you want to obtain, select the appropriate options as described in the
table below.
5. Click Test command to check if the command is correct.
Check box
Selection
Fail the task if the command
execution fails*
Selected
Cleared
Selected
Cleared
Do not back up until the
command execution is
complete
Selected
Selected
Cleared
Cleared
Result
Preset
Perform the backup
only after the
command is
successfully
executed. Fail the
task if the command
execution fails.
Perform the
backup after the
command is
executed despite
execution failure
or success.
N/A
Perform the backup
concurrently with
the command
execution and
irrespective of the
command execution
result.
* A command is considered failed if its exit code is not equal to zero.
4.7.17.2 Post-backup command
To specify a command/executable file to be executed after the backup is completed
1. In the Command field, type a command or browse to a batch file.
2. In the Working directory field, specify a path to a directory where the command/batch file will
be executed.
3. In the Arguments field, specify the command execution arguments, if required.
4. Select the Fail the task if the command execution fails check box if successful execution of the
command is critical for you. The command is considered failed if its exit code is not equal to zero.
If the command execution fails, the program will remove the resulting TIB file and temporary files
if possible, and the task run result will be set to Failed.
When the check box is not selected, the command execution result does not affect the task
execution failure or success. You can track the command execution result by exploring the log or
the errors and warnings displayed in the Log view.
5. Click Test Command to check if the command is correct.
4.7.18 Pre/Post data capture commands
This option is effective for both Windows and Linux operating systems.