AWS Directory Service
管理指南 (版本 1.0)
AWS 文档中描述的 AWS 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 Amazon AWS 入门

为您的目录拍摄快照或还原该目录

AWS Directory Service provides the ability to take manual snapshots of data for a Simple AD or AWS Directory Service for Microsoft Active Directory directory. These snapshots can be used to perform a point-in-time restore for your directory.

注意

You cannot take snapshots of AD Connector directories.

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.

注意

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, select 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.

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.

警告

We recommend that you contact the AWS Support Center before any snapshot restore; we may be able to help you avoid the need to do a snapshot restore. Any restore from snapshot can result in data loss as they are a point in time. It is important you understand that all of the DCs and DNS servers associated with the directory will be offline until the restore operation has been completed.

To restore your directory from a snapshot, perform the following steps.

To restore a directory from a 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, select 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 a Simple AD directory, it may take several minutes for the directory to be restored. For a AWS Managed Microsoft AD directory, it can take from two to three hours. 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.

Deleting a Snapshot

To delete a 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, select the Maintenance tab.

  4. In the Snapshots section, choose Actions, and then select Delete snapshot.

  5. Verify that you want to delete the snapshot, and then choose Delete.