
Methods for Database Backup
Exchange provides the following methods for database backup:
-
Legacy streaming backup The first method is the legacy streaming backup using the Extensible Storage Engine (ESE) application programming interface (API). The streaming backup technology is used by Microsoft Windows Server Backup as well as many third-party products. This technology has been available in all previous versions of Exchange and has a mature feature set.
-
Volume Shadow Copy Service Support for Volume Shadow Copy Service (VSS) was introduced in Exchange Server 2003 and enhanced extensively in Exchange 2007. Microsoft does not provide an Exchange-aware VSS-based backup solution. The Windows Server Backup utility does not support VSS. Backup can take VSS shadow copies of the Exchange database and log files, but this is done at the file level. These copies are not Exchange-aware backups. Third-party backup software is required to back up the Exchange database with VSS. You must buy an Exchange-aware backup solution to take advantage of VSS functionality.
For more information, see Exchange 2007 Data Backup and Volume Shadow Copy Services and the Exchange Server Team Blog article So what is this "shadow copy" Exchange backup that NTBackup can take.
Note: |
|---|
|
The content of each blog and its URL are subject to change without notice. The content within each blog is provided "AS IS" with no warranties, and confers no rights. Use of included script samples or code is subject to the terms specified in the Microsoft Terms of Use.
|
In designing your backup process, keep in mind the following:
-
Resources required to back up your data, such as CPU and I/O load on the server, and bandwidth to stream your backups off the server.
-
Duration of the backup window because backups are resource intensive and can affect user performance.
-
Recovery point objectives. For example, consider how much data you must recover. If the loss of more than one day's worth of data is not acceptable, we recommend daily backups.
-
Recovery service level agreements (SLAs) that you have established.
These considerations, when combined with the backup application you are using, will give you an estimate of the overall database size limitations that you should impose. Databases should not be larger than can be backed up or restored in the time window allowed by your SLAs without adversely affecting users' performance.
With Exchange 2007, you can have a duplicate copy of the database using LCR, CCR and with Exchange 2007 Service Pack 1 (SP1), you can have multiple duplicate copies with SCR. These copies can be used to replace the active database in the event that the active database is unavailable, and serve as the fast recovery solutions for various scenarios that required database restores from backups in the past. Exchange 2007 takes advantage of the second copy of the database and transaction log file in CCR and LCR by providing the ability to take VSS backups from the copy location as opposed to the active database, which in turn provides the following:
-
Reduces the load on the production database because all the backup I/O traffic is directed toward the copy location.
-
Increases the backup window because backup traffic does not affect the client response times.
-
Increases the database maintenance window because maintenance can take place against the active copy while backups are in progress on the passive copy.
-
Enables larger databases, due to a larger backup window, which enables a larger mailbox quota.
LCR, CCR and SCR copies reduce the need to take frequent full backups because the copies serve as the primary fast recovery solution, leaving restores from backups for second degree failures.