How can i Restore my Managed Directory in DR Account

0

Hi, We are using AWS managed directory for LDAP thing in one of our application. currently we have this directory running in our Prod Account, but we have our DR account and we would like to restore this directory in the case of production account failure. i wanted to check if there is any way we can use / backup the directory from Prod and restore it in DR account? like can i use AWS backup or some other way to achieve this?

1 Answer
0

Hello @Shriram,

I would recommend leveraging the "Snapshot and Restore" feature for AWS Directory Service.

AWS Directory Service provides automated daily snapshots and the ability to take manual snapshots of data for your AWS Managed Microsoft AD Active Directory. These snapshots can be used to perform a point-in-time restore for your Active Directory. You are limited to five manual snapshots for each AWS Managed Microsoft AD Active Directory. If you have already reached this limit, you must delete one of your existing manual snapshots before you can create another. You cannot take snapshots of AD Connector directories

https://docs.aws.amazon.com/directoryservice/latest/admin-guide/ms_ad_snapshots.html

Here is an overview of the snapshot creation and restore procedure:

Creating a snapshot of your directory

A snapshot can be used to restore your directory to what it was at the point in time that the snapshot was taken. To create a manual snapshot of your directory, perform the following steps. Note: You are limited to 5 manual snapshots for each directory. If you have already reached this limit, you must delete one of your existing manual snapshots before you can create another.

To create a manual snapshot:

1. In the AWS Directory Service console navigation pane, select **Directories**.
2. On the **Directories** page, choose your directory ID.
3. On the **Directory details** page, choose the **Maintenance **tab.
4. In the **Snapshots **section, choose **Actions**, and then select **Create snapshot**.
5. In the **Create directory snapshot **dialog box, provide a name for the snapshot, if desired. When ready, choose **Create**.

Note: Depending on the size of your directory, it may take several minutes to create the snapshot. When the snapshot is ready, the Status value changes to Completed.

**Restoring your directory from a snapshot ** Restoring a directory from a snapshot is equivalent to moving the directory back in time. Directory snapshots are unique to the directory they were created from. A snapshot can only be restored to the directory from which it was created. In addition, the maximum supported age of a manual snapshot is 180 days.

To restore a directory from a snapshot, perform the following steps:

1. In the AWS Directory Service console navigation pane, select **Directories**.
2. On the **Directories **page, choose your directory ID.
3. On the **Directory **details page, choose the **Maintenance **tab.
4. In the **Snapshots **section, select a snapshot in the list, choose **Actions**, and then select **Restore snapshot.**
5. Review the information in the **Restore **directory snapshot dialog box, and choose **Restore**.

For an AWS Managed Microsoft AD directory, it can take from two to three hours for the directory to be restored. When it has been successfully restored, the Status value of the directory changes to Active. Any changes made to the directory after the snapshot date are overwritten.

Hopefully this helps answer your question. Please keep us posted on the progress here.

profile pictureAWS
answered 3 months ago
profile picture
EXPERT
reviewed a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions