Posted on:
June 2nd, 2009
Before you build a backup you should know what you plan on restoring.
If we lost it all, how far back would we have to go in order to restore our last backup. If you are willing to loose two days of data then your newest backup should never be older then 2 days. Ask yourself “How much data can be lost”?
How long can we afford to be offline waiting for the offline recovery to complete. For exmaple if your RPO is 4 hours and it takes you 3 hours to bring the server online the you would have an approx. RTO of 7hrs.
What is the long range Retention scenario? Say you need to keep 7 years of data. Do you need to backup all this data every day?
What is the short term Retention scenario? Would it be ok to recover the last six months in 45 minutes and bring on the archives for the rest of the 7 years.
The basic operation on how exchange stores data and how it relates to backups/restores.
You would perform a file backup if you copy the files (database and transaction logs) to another server. In order to do this without corrupting the database you must shutdown the Exchange server while this process is happening. If you don’t turn off exchange before the copy is finished “backing up”, you database will most likely become corrupt. There are ways of running scans and tools on the database but it gets pretty ugly. .ie Can’t mount files. The email server would need to be offline the whole time… ie. no emails can be received or sent.
Backup Exec allows to backup open files. This option will give you an inconsistent database state. Similar to “File Backup” the restore will not be pretty. You will most likely need to run a database fix. You may or may not be able to mount the files.
Is basically away to backup the mail database to individual PST files. This is something that is not normally done from experienced admins. A downfall of this type of backup can increase the size of the backups. Exchange is smart in that when a user sends an attachment in a email to 10 other users. Each users inbox would point to a single file. After restoring from a Brick-Level restore the database would be much larger. Another issue with the restore would be for Free/busy time.
Backup time would be much longer. It would probably be done with MAPI.
Is now considered a legacy backup solution. NTBackup for Exchange in Windows 2003 is an example of Streaming Backup. Stream database and pour that information into a separate file. Full,Copy, differential and incremental are supported.
Cons – Can only backup an active database. They can not backup cluster or replicated servers. Windows 2008 backup does not support streaming backup. Remote streaming backups in Exchange SP1 are disabled. You can re-enable this by changing a Registry setting on the box.
We had Volume Shadowcopy service on Windows 2003. This wasn’t the case for Exchange 2003. As noted before, Streaming Backup is what was used to backup Exchange.
VSS works by taking a snapshot of the files on a volume and not individual files. Full backup will take a while but not as long as just coping the files. Incremental backup on copy the blocks that changed since the last backup. Block size is based on the block size you formatted the volume with.
You can’t mix VSS backups with other forms of backup like streaming and VSS Backup.
Are essentially containers that allow restored databases to be mounted. Once they are mounted they can not be accessed by clients. There sole purpose is to to recover data. A virtual lock is placed on the group to prevent changes. You could essentially recover a mailbox while the server is online using a storage group. Using a wizard you can select a mailbox and tell it to copy or merge with the mailbox that you are wanting to restore.
Recovery Storage Groups only work with streaming backups and NOT VSS backups!!!
Your first option in clustering would be to fail over to the second or third server. Restoring would no longer be your first choice. You would not have to backup as much because you’d have an exact copy of the server waiting in stand-by.
Using VSS we can backup replicas and not the main database. This will put less load on the default server. Streaming backup servers can not do this. They can only backup production database.
Local Continues Replication (LCR)
Ability to write a copy of the database to another volume and log shipping (copy transaction logs). It can consistently make sure that the second database is kept in “Update Status”. If the main database were to go offline we could take the second database and put it into production.
Single Copy Cluster (SCC)
When 2 servers (Active Server and Passive Node) both share a storage unit on which the database is kept. They would maintain that based on build-in Windows 2003 or Windows 2008 clustering abilities.
Standby Replication Cluster (SRC)
Say you have two live mail servers. On each server you have a complete backup of the other server’s database. That copy
is called a “Passive Copy”. SCC clusters share a common Storage Container.
Clustered Continuous Replication (CCR)
It maintains it’s own distinct storage. It does not share a common storage container like SCC. CCR can automatically bring the other database online.
Next Lesson – General Practices – Exchange 2007 Backup and Recovery