This page explains the list of items you should consider for restoring a Managed Microsoft AD domain.

When you take a backup of your domain, Managed Microsoft AD captures a snapshot of the domain along with its configurations. To know how the backup and restore process impacts the Managed Microsoft AD features and decide how to restore a domain, read the following sections.

## SQL Server integration

For restoring from a backup associated with SQL Server integration, consider the following:

- If you experience some errors after you restore your domain from a backup with an SQL Server integration, you must reauthenticate the SQL Server instances that are already connected to the domain.

- If you restore your domain from a backup taken before the SQL Server integration, you can observe some stale resources. You can either ignore or clean them up by [removing Windows Authentication from the SQL Server instances](https://docs.cloud.google.com/sql/docs/sqlserver/configure-ad.md.txt#removing-windows-authentication-from-an-instance).

## Trust relationships

For restoring from a backup associated with trust relationships, consider the following:

- If you restore your domain from a backup taken after creating the trust relationships, you must update the trust health by [validating the trust](https://docs.cloud.google.com/managed-microsoft-ad/docs/manage-trusts.md.txt#validating-trust).

- If you restore your domain from a backup taken before creating the trust relationships, you can observe stale entries that show as **Connected** in the **Trust relationships** section of the domain page. You must update the trust health by [validating the trust](https://docs.cloud.google.com/managed-microsoft-ad/docs/manage-trusts.md.txt#validating-trust). You can then either delete the trust or [recreate the trust](https://docs.cloud.google.com/managed-microsoft-ad/docs/create-trust.md.txt).

## Domain peerings

For restoring from a backup associated with domain peerings, consider the following:

- If you restore your domain from a backup with domain peerings, the domain peerings continue to exist and function as usual.

- If you restore your domain from a backup taken before creating the domain peerings, the domain peerings continue to exist and function as usual. You must [delete the domain peerings](https://docs.cloud.google.com/managed-microsoft-ad/docs/list-describe-delete-domain-peering.md.txt#delete_domain_peering) manually.

## What's next

- [Back up and restore a domain](https://docs.cloud.google.com/managed-microsoft-ad/docs/backup-restore.md.txt).

- [Create a trust with an on-premises domain](https://docs.cloud.google.com/managed-microsoft-ad/docs/create-trust.md.txt).

- To manage a one-way trust relationship between an on-premises domain and a Managed Microsoft AD domain, see [Manage trusts](https://docs.cloud.google.com/managed-microsoft-ad/docs/manage-trusts.md.txt).

- To integrate Microsoft SQL Server with Managed Microsoft AD, see [Connect Microsoft SQL Server](https://docs.cloud.google.com/managed-microsoft-ad/docs/how-to-use-sql-server.md.txt).