
Copyright © Acronis, Inc., 2000-2010 89
Pre/Post commands
This option is effective for Windows and Linux operating systems and PE-based bootable media.
The option enables you to define the commands to be automatically executed before and after the
backup procedure.
The following scheme illustrates when pre/post commands are executed.
Pre-backup
command
Backup Post-backup
command
Examples of how you can use the pre/post commands:
delete some temporary files from the disk before starting backup
configure a third-party antivirus product to be started each time before the backup starts
copy an archive to another location after the backup ends.
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 spe ci fy a new command or a batch file
Select the existing command or the batch file from the drop-down list
3. Click OK.
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
Sel ected Cl eared
Sel ected Cl eared
Do not back up until the
command exe cution is
complete
Sel ected Sel ected
Cl ea red Cl ea red
Result
Preset Perform th e
backup after the
N/A Perform the backup
concurrently with
Kommentare zu diesen Handbüchern