本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
Snapshot or restore your directory
AWS Directory Service provides the ability to take manual snapshots of data for your AWS Managed Microsoft AD directory. 这些快照可以用于为目录执行时间点还原。无法拍摄 AD Connector 目录的快照。
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. 要创建目录的手动快照,请执行以下步骤。
对于每个目录,限制为 5 个手动快照。如果已达到此限制,必须先删除一个现有手动快照才能创建另一个快照。
创建手动快照
-
在 AWS Directory Service console
导航窗格中,选择 Directories (目录). -
On the Directories page, choose your directory ID.
-
On the Directory details page, do one of the following:
-
If you have multiple Regions showing under Multi-Region replication, select the primary Region, and then choose the Maintenance tab. 有关更多信息,请参阅 主要区域与附加区域.
-
If you do not have any Regions showing under Multi-Region replication, choose the Networking & security tab.
-
-
In the Snapshots section, choose Actions, and then select Create snapshot.
-
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. 快照准备就绪之后,Status 值更改为 Completed
.
Restoring your directory from a snapshot
从快照还原目录等效于将目录移动回到以前的时间。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.
此外,手动快照支持的最长期限为 180 天。For more information, see Useful shelf life of a system-state backup of Active Directory
We recommend that you contact the AWS Support Center
要从快照还原目录,请执行以下步骤。
从快照还原目录
-
在 AWS Directory Service console
导航窗格中,选择 Directories (目录). -
On the Directories page, choose your directory ID.
-
On the Directory details page, do one of the following:
-
If you have multiple Regions showing under Multi-Region replication, select the Region where you want to restore your snapshot, and then choose the Maintenance tab. 有关更多信息,请参阅 主要区域与附加区域.
-
If you do not have any Regions showing under Multi-Region replication, choose the Networking & security tab.
-
-
In the Snapshots section, select a snapshot in the list, choose Actions, and then select Restore snapshot.
-
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.
删除快照
如何删除快照
-
在 AWS Directory Service console
导航窗格中,选择 Directories (目录). -
On the Directories page, choose your directory ID.
-
On the Directory details page, do one of the following:
-
If you have multiple Regions showing under Multi-Region replication, select the Region where you want to delete your snapshot, and then choose the Maintenance tab. 有关更多信息,请参阅 主要区域与附加区域.
-
If you do not have any Regions showing under Multi-Region replication, choose the Networking & security tab.
-
-
In the Snapshots section, choose Actions, and then select Delete snapshot.
-
Verify that you want to delete the snapshot, and then choose Delete.