7 pre/post commands, 1 pre-recovery command, Pre/post commands – Acronis Backup for PC - User Guide User Manual

Page 127

Advertising
background image

127

Copyright © Acronis International GmbH, 2002-2014

This option is effective only when you select for backup a folder that is higher in the folder hierarchy
than the mount point. If you select for recovery folders within the mount point or the mount point
itself, the selected items will be recovered regardless of the Mount points option value.

Please be aware that if the volume is not mounted at the moment of recovery, the data will be recovered
directly to the folder that has been the mount point at the time of backing up.

5.6.7 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
data recovery.

Example of how you can use the pre/post commands:

Launch the Checkdisk command in order to find and fix logical file system errors, physical
errors or bad sectors to be started before the recovery starts or after the recovery ends.

The program does not support interactive commands, i.e. commands that require user input (for
example, "pause".)

A post-recovery command will not be executed if the recovery proceeds with reboot.

To specify pre/post commands

1. Enable pre/post commands execution by checking the following options:

Execute before the recovery

Execute after the recovery

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.

5.6.7.1

Pre-recovery command

To specify a command/batch file to be executed before the recovery 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 recover until the
command execution is
complete

Selected

Selected

Cleared

Cleared

Result

Advertising