beautypg.com

Pre/post commands, Before/after data capture commands – Acronis True Image 9.1 Server for Linux - User Guide User Manual

Page 29

background image

Creating backup archives under X Window System

Copyright © Acronis, Inc., 2000-2006

29

You can set the default filters for not to back up files of specific types. For example, you
may want hidden and system files and folders not to be stored in the archive.

You can also apply custom filters, using the common masking rules. For example, to exclude

all files with extension .tib, add *.tib mask. My???.tib mask will reject all .tib files with

names, consisting of five symbols and starting with “my”.

This option is effective for file/folders backup only. When creating a disk/partition image,

you cannot filter out any files.

5.3.3

5.3.4

Pre/post commands

You can specify commands or executable files to be automatically executed before and after
the backup procedure. For example, you may want to remove some tmp files from the disk

before starting backup or configure a third-party antivirus product to be started each time

before the backup starts. Click Edit to open the Edit Command window where you can

easily input the command, its arguments and working directory or browse folders to find an

executable file.

Unchecking the Do not perform operations until the commands execution is complete

box, checked by default, will permit the backup process to run concurrently with your

commands execution.

Before/after data capture commands

Database servers, such as MS SQL Server and MS Exchange, prove to be troublesome to

backup, partially due to open files and indexes and partially due to rapid data changes.

Therefore many system administrators prefer to suspend the database at the backup

(capturing the Snapshot) moment.

To ensure that the database will be ready to access immediately after recovery, the

administrator must ensure completion of all transactions before the backup process starts.

Once the backup process starts, you can resume server operations. It is not necessary to

suspend the applications for the duration of the imaging process.

The transactions completion can be ensured with executing scripts that pause the

appropriate services and automatically resume them after data capture.

Create scripts in any text editor (for example, name it ‘pause_services.bat’ and

‘resume_services.bat’. Use Edit buttons to the right of Before data capture command

and After data capture command fields, to open the Edit Command window where you

can browse folders to find the respective scripts. A single command can be specified in the

same window along with its arguments and working directory.

It is critical to note that these commands, as opposed to Pre/post commands above, will

be executed before and after data capture process, which takes seconds, while the entire

backup procedure may take quite long time. Therefore, the database idle time will be

minimal.

Unchecking the Do not perform operations until the commands execution is

complete box, checked by default, will permit the backup process to run concurrently with
your commands execution.