Best Practices for Backing up and Restoring Database Availability Group
Stellar Information Technology Pvt. Ltd.
Global Data Care Experts #1 in India since 1993
Database Availability Group (DAG) setup in Exchange Server provides high availability and site resilience with automatic database-level recovery in case of database, server, or network failure. However, it isn’t an alternative or substitute to backups. You still need to back up your mailbox database and other essential data from the DAG member servers and store them on at least two different storage devices at two geographically distant locations, preferably in another branch or office.
But how do you backup Database Availability Group and what are the best practices (or guidelines) to backup and restore DAG? In this article, we have answered these questions with examples and illustrations.?
Why do you need to back up the DAG?
Database Availability Group or member servers of DAG may degrade, fail, or not boot due to many reasons, such as:
In most scenarios, users won’t notice a change in DAG environment. But you must restore the failed member server immediately to ensure high availability. However, if the DAG fails due to multiple member servers’ failure, boot issues, network problems, etc., users can’t access their mailbox—leading to downtime. In such cases, a backup can help you quickly restore the Exchange Servers and reconfigure the DAG.
Best Practices to Backup and Restore Exchange Database Availability Group?
Let’s assume we have a DAG setup with three member servers—each having two copies of three databases across three servers
The DAG configuration ensures no two copies of the same database are stored on one server. Instead, the copies are distributed among all member servers to provide site resilience and high availability. However, if two member servers fail one after another or simultaneously for any reason (unlikely), the server may no longer have access to all the database copies. Therefore, with one member server, at least one database copy will be missing or unavailable.
To restore the DAG, you must set up new Exchange Servers and add them to the DAG. After that, you need to restore the lost third-database copy from the backup or use an Exchange database recovery software, such as Stellar Repair for Exchange.
Best Practices to Follow While Backing Up DAG
Here are some best practices you should follow while taking or creating DAG backups.
Best Practices to Follow While Restoring the DAG Backup
Follow these best practices when restoring databases in a DAG environment.
Final Thoughts
Backups are critical to avoid permanent data loss and prevent extended downtimes when a disaster strikes. If you are using the Exchange Server, whether standalone or in a DAG setup, it is highly recommended to maintain regular backups. Database Availability Group also requires regular backups to prevent downtimes if multiple member servers fail due to logical or physical damage (unlikely but not impossible).
However, if the backup isn’t available, does not work, or turns out obsolete, you can always rely on an advanced Exchange recovery tool, such as Stellar Repair for Exchange. The software can help directly restore the mailboxes from the failed DAG member server databases to the newly set up DAG or any live Exchange Server. It auto-maps the source and destination mailboxes, allows mailbox user creation directly from the software interface on live Exchange AD, edits mailbox mapping, and much more in a few clicks. It’s also 4x faster—capable of simultaneously exporting up to 4 mailboxes to destination Exchange Server. You can also save the mailboxes as PST files or export them directly to Office 365 (Microsoft 365).?
Operating Systems Analyst @ Covenant Health | Exchange On Prem and 365 Administration
1 年When full backups are run on passive db's are the logs truncated after the backup?