How can i restore Managed Directory in case of Disaster Recovery

0

Hi, So we are recently performing a test DR activity in our prod environment, so we found that if our Directory got deleted (even by mistake) we wont be having any snapshot available to restore, so we are wondering if there is any other possible way where we can take backup of our Managed directory and restore it in such scenarios? basically our scenario is like, we want to restore our directory if there is deletion of existing Managed directory.

1 Answer
0

Hi,

You can have daily snapshots of your AD automatically created by AWS: see https://docs.aws.amazon.com/directoryservice/latest/admin-guide/ms_ad_snapshots.html

They can be restored on demand. See doc above.

Best,

Didier

profile pictureAWS
EXPERT
answered 4 months ago
  • Thanks for the reply Didier, but what if someone delete it , it will also delete the snapshots too!! how to recover in such case?

  • I agree that this does not answer the original question. The situation described by Shriram here is one I also need to address. In our DR exercise, we will delete the managed AD -- and everything else resourced by a Terraform pipeline with a destroy command. When we recreate the resources and a new Managed AD (with a new directory id), how can we restore that new directory from a manual snapshot backup of the deleted directory?

    Our understanding is that we can't. When the original directory is destroyed, the snapshot backups are also destroyed, correct? Or are they just not visible/accessible from the AWS Console? Are the backups preserved in the background somewhere? (And therefore might somehow be used to restore the data in an accidentally destroyed Managed AD.)

    And if that snapshot can't be used on a directory with a different id, is there a way to create a new directory with the old ID?

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