How to Backup Exchange 2010 Mailbox Databases with the internal Windows Server 2008–R2 Backup
Saturday, December 22, 2012 6:00 PM
In my own Exchange 2010 environment, the database is on an extra partition. In my case it’s on the D:\ – drive. For the backup I also use a separate drive (the E:\ – drive)
The DB and the LOG – part are in different folders (for each DB there exists a separate sub folder too)
For the database you have normally one .edb – file.
The folder generation problems is the “LogFolderPath” where can exist hundreds of log – Files. The number of these log files increases till (depending on the number of mailboxes in that database and the “mail traffic”) a full database backup is executed.
In the next picture you can see the result when my backup didn’t run for a fee days!
After a successful (full) backup, the LOG – folder of an Exchange Mailbox database should look like this and only have “a few” files:
In test environments (but only there!) you can turn on “circular logging”. So you don’t need to run full backups and the log folder won’t explode!
Step by step instructions to create a scheduled backup with the integrated Windows Server 2008 R2 Backup
- create / connect partition (in my case E:\) for the backup
- turn off Exchange 2010 circular logging on the databases (if enabled)
- install the backup feature (Server Manager – Features)
- open Windows Server Backup
- Start the “Backup Schedule …” – wizard
- select (x) Custom – configuration
- press the <Add Items> button to add the drive where your mailbox databases are located (here you see why it’s better to separate the Exchange DB’s from the System files)
in my case I have to add the D:\ – partition
- press the <Advanced> button
and here switch to the “VSS Settings” tab
- select VSS full Backup
This is one of the most important steps in the whole configuration!
When you don’t select the “VSS full Backup” option, the log isn’t truncated at the end and sooner or later you’re running out of disk space on the partition where the DB (the log files) are stored !
When backup starts, at first a shadow copy of the volume is created
then a consistency check of the Exchange application is executed
and at the end the real backup starts
When opening the backup tool you get an overview of the last running backups and their status.
Here are two links about the same subject with a few additional printscreens: