Acronis Manual

Page 53

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.

6.3.4 Database support 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. 1. Volume Shadow Copy Service Microsoft Volume Shadow Copy Service (VSS) provides the infrastructure for backup on running systems by keeping up coordination between user applications that update data on disk and backup applications. VSS is available in Microsoft Windows XP and Microsoft Windows Server 2003 operating systems. If your database is compatible with Microsoft Volume Shadow Copy Service (VSS), then checking the Enable VSS support box in Database support window will ensure completion of all transactions before the backup process starts. Then the database will be ready to access immediately after recovery. The examples of VSS-aware databases are Exchange, Oracle, SQL Server. 2. Before/after data capture commands However, VSS is not available in server operation systems older than Windows 2003 Server, and not all databases support VSS. In these cases, the transactions completion can be ensured with 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” Create batch files 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 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, 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.

Copyright © Acronis, Inc., 2000-2006

53


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.