Pre/Post Commands; Database Support - ACRONIS TRUE IMAGE ECHO - WORKSTATION User Manual

Table of Contents

Advertisement

This option is effective for file/folders backup only. When creating a disk/partition image,
you cannot filter out any files.

6.3.3 Pre/post commands

You can specify commands or batch files to be automatically executed before and after
backup procedure
the
. 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 a batch file.
The program does not support interactive commands, i.e. commands that require user
input (for example, "pause".)
The backup process will run concurrently with your commands if you uncheck the Do not
perform operations until the commands execution is complete box, which is
checked by default.

6.3.4 Database support

Database servers, such as MS SQL Server and MS Exchange, can be problematic to
backup, partially due to open files and indexes and partially due to rapid data changes.
Therefore it is usually recommended that the database be suspended just before the
backup (data capture). You can suspend the database and clear all caches to ensure that
all transactions are completed at the moment of data capture. If it become necessary to
restore a damaged database, it will be restored completely and be ready to access after
recovery.
1. Before/after data capture commands
The transactions completion can be ensured by executing batch files or scripts that pause
the appropriate Windows services and automatically resume them after data capture.
An example of a batch file, suspending the Windows services for MS Exchange:
net stop msexchangesa /y /y
net stop "Microsoft Exchange Routing Engine"
An example of a batch file, resuming the Windows services for MS Exchange:
net start "Microsoft Exchange System Attendant"
net start "Microsoft Exchange Event"
net start "Microsoft Exchange IMAP4"
net start "Microsoft Exchange MTA Stacks"
net start "Microsoft Exchange POP3"
net start "Microsoft Exchange Routing Engine"
pause_services.bat
Create batch files in any text editor (for example, name it
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 batch files or 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,
data capture
will be executed before and after the
process, which takes seconds, while
73
Copyright © Acronis, Inc., 2000-2009

Advertisement

Table of Contents
loading

This manual is also suitable for:

True image echo

Table of Contents