Backing up an application server

To protect an application server, create a backup plan or use the Backup now feature as described in the "Backup" section.

Applications that use databases require a few simple measures to ensure the application data consistency within a disk backup.

Back up entire machines

Databases may be stored on more than one disk or volume. To ensure that all necessary files are included in a backup, back up the entire machine. This also ensures that the application will remain protected if you add more databases or relocate the log files in the future.

If you are sure that the databases and their associated files are always on the same volumes, you may want to back up only these volumes. Or you may want to create separate backup plans for the system volume and for the volumes that store the data. In both cases, make sure that all of the volumes containing the necessary files are included in the backup. For instructions on how to find out the database paths, refer to "Locating database files".

If the application databases are located on a number of machines, back up all of the machines on the same schedule. For example, include all of the SQL servers belonging to a SharePoint farm in a centralized backup plan running on a fixed schedule.

Use Volume Shadow Copy (VSS)

Microsoft Volume Shadow Copy Service (VSS) should be used to ensure consistency of the database files in the backup. Without VSS, the files would be in a crash-consistent state; that is, after the recovery, the system would be in the same state as if the power were disconnected at the moment when backup began. While such backups are good enough for most applications, applications that use databases may not be able to start from a crash-consistent state.

A VSS provider notifies VSS-aware applications that the backup is about to start. This ensures that all database transactions are completed by the time Acronis Backup & Recovery 11.5 takes the data snapshot. This, in turn, ensures the consistent state of the databases in the resulting backup.

Acronis Backup & Recovery 11.5 can use various VSS providers. For Microsoft products, Microsoft Software Shadow Copy Provider is the best choice.

Using VSS on a physical machine

Using VSS on a virtual machine

Truncating transaction logs

Acronis Backup & Recovery 11.5 does not truncate the transaction log after creating a disk backup. This is not a problem for Active Directory, because it normally uses circular logging. Available solutions for other applications include:

  1. Truncating the logs manually or by using a script.
  2. For Microsoft SQL Server, temporary switching to Simple Recovery Model.
  3. For Microsoft Exchange Server, using the dedicated Agent for Microsoft Exchange Server.

For more information about the available solutions, see "Truncating transaction logs".

Application-specific recommendations

See "Best practices when backing up application servers".

In this section

Locating database files

Truncating transaction logs

Best practices when backing up application servers