User manual

Table Of Contents
92 Copyright © Acronis International GmbH, 2002-2016
Selectively copy backups from an archive to another location. This option may be useful because
the replication configured in a backup plan copies every backup of an archive to subsequent
locations.
Acronis Backup performs the replication after executing the post-backup command. For more
information see "Sequence of operations in a backup plan" (p. 53).
The program does not support interactive commands, i.e. commands that require user input (for
example, "pause").
To specify pre/post commands
1. Enable pre/post commands execution by checking the following options:
Execute before the backup
Execute after the backup
2. Do any of the following:
Click Edit to specify a new command or a batch file
Select the existing command or the batch file from the drop-down list
3. Click OK.
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.