修改存档策略Modify archive policies

在 Exchange Online 中,您可以使用存档策略会自动将邮箱项目移动到个人 (本地) 或基于云的存档。存档策略是使用移动到存档保留操作的保留标记。In Exchange Online, you can use archive policies to automatically move mailbox items to personal (on-premises) or cloud-based archives. Archive policies are retention tags that use the Move to Archive retention action.

Exchange 安装程序创建名为默认 MRM 策略的保留策略。该策略具有默认策略标记 (DPT) 分配的两年后将项目移动到存档邮箱。策略还包括大量的个人标记的用户可以应用于文件夹或邮箱的项目自动移动或删除邮件。如果邮箱没有分配时启用存档的保留策略,默认 MRM 策略自动应用于其 exchange。您还可以创建您自己的存档和保留策略,并将它们应用于邮箱用户。若要了解详细信息,请参阅保留标记和保留策略Exchange Setup creates a retention policy called Default MRM Policy. This policy has a default policy tag (DPT) assigned that moves items to the archive mailbox after two years. The policy also includes a number of personal tags that users can apply to folders or mailbox items to automatically move or delete messages. If a mailbox doesn't have a retention policy assigned when it's archive-enabled, the Default MRM Policy is automatically applied to it by Exchange. You can also create your own archive and retention policies and apply them to mailbox users. To learn more, see Retention tags and retention policies.

您可以修改默认策略,才能满足业务要求中包括的保留标记。例如,您可以修改存档 DPT,将项目移动到存档后而不是两个三年。您还可以创建其他个人标记和以下任意将其添加到保留策略,包括默认 MRM 策略,或允许用户从 Outlook Web App 选项将个人标记添加到其邮箱。You can modify retention tags included in the default policy to meet your business requirements. For example, you can modify the archive DPT to move items to the archive after three years instead of two. You can also create additional personal tags and either add them to a retention policy, including the Default MRM Policy, or allow users to add personal tags to their mailboxes from Outlook Web App Options.

有关与存档相关的其他管理任务,请参阅启用或禁用在 Exchange 在联机存档邮箱For additional management tasks related to archives, see Enable or disable an archive mailbox in Exchange Online.

备注

在 Exchange 混合部署中,您可以为内部部署主邮箱启用基于云的存储邮箱。如果向内部部署邮箱分配存档策略,项目将移动到基于云的存档。如果将某个项目移动到存档邮箱,不会在内部部署邮箱中保留它的副本。如果将内部部署邮箱置于保留状态,存档策略仍会将项目移动到基于云的存档邮箱,项目将在其中保存保留指定的时间。In an Exchange hybrid deployment, you can enable a cloud-based archive mailbox for an on-premises primary mailbox. If you assign an archive policy to an on-premises mailbox, items are moved to the cloud-based archive. If an item is moved to the archive mailbox, a copy of it isn't retained in the on-premises mailbox. If the on-premises mailbox is placed on hold, an archive policy will still move items to the cloud-based archive mailbox where they are preserved for the duration specified by the hold.

在开始之前,您需要知道什么?What do you need to know before you begin?

  • 估计完成时间:5 分钟。Estimated time to completion: 5 minutes.

  • 您必须先获得权限,然后才能执行此过程或多个过程。若要查看所需的权限,请参阅 邮件策略和遵从性权限主题中的"邮件传递记录管理"条目。You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the "Messaging records management" entry in the Messaging policy and compliance permissions topic.

  • 若要了解可能适用于此主题中过程的键盘快捷键,请参阅 Exchange 管理中心内的键盘快捷键For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard shortcuts in the Exchange admin center.

提示

遇到问题了吗?请在 Exchange 论坛中寻求帮助。 请访问以下论坛:Exchange ServerExchange OnlineExchange Online ProtectionHaving problems? Ask for help in the Exchange forums. Visit the forums at Exchange Server,Exchange Online, or Exchange Online Protection.

您想执行什么操作?What do you want to do?

使用 EAC 修改默认存档策略Use the EAC to modify the default archive policy

  1. 导航到合规性管理 > 保留标记,然后。Navigate to Compliance management > Retention tags and then.

  2. 在列表视图中,选择默认 2 年移动到存档的标记,然后单击编辑编辑图标In the list view, select the tag Default 2 year move to archive and then click EditEdit icon.

    提示

    您可以单击类型列进行排序类型的保留标记。默认存档策略将显示为默认类型具有存档保留操作。或者,单击要按名称排序保留标记的名称You can click the TYPE column to sort retention tags by type. The default archive policy is displayed as type Default and has the Archive retention action. Alternatively, click NAME to sort retention tags by name.

  3. 保留标记中, 查看或修改的以下设置,然后单击保存:In Retention Tag, view or modify the following settings, and then click Save:

    • 名称使用页的顶部此框可以查看或更改的标签名称。Name Use this box at the top of the page to view or change the tag name.

    • 保留标记类型此只读字段显示的标记类型。Retention tag type This read-only field displays the tag type.

    • 保留操作不修改存档策略的此字段。Retention action Don't modify this field for archive policies.

    • 保留期 选择下列选项之一:Retention period Select one of the following options:

    • 从不单击此按钮可禁用标记。如果禁用 DPT,则标记不再应用于邮箱。Never Click this button to disable the tag. If the DPT is disabled, the tag is no longer applied to the mailbox.

      重要

      邮箱助理将不再处理应用了已禁用的保留标记的项目。如果要阻止将某个标记应用于项目,我们建议您禁用此标记,而不是将其删除。删除某个标记时,该标记配置也会从 Active Directory 中删除,且邮箱助理会处理所有邮件以删除该标记。Items that have a disabled retention tag applied aren't processed by the Mailbox Assistant. If you want to prevent a tag from being applied to items, we recommend disabling the tag rather than deleting it. When you delete a tag, the tag configuration is deleted from Active Directory, and the Mailbox Assistant processes all messages to remove the deleted tag.

      备注

      如果用户将某个标记应用于项目,并认为此项目永不会移动,日后启用此标记可能会移动用户原本要保留在主邮箱中的项目。If a user applies a tag to an item believing the item will never be moved, enabling the tag later may move items the user wanted to retain in the primary mailbox.

    • 当项目达到的以下时间 (天) 单击此按钮可指定项目移动到存档后一段。默认情况下,此设置配置为将项目移动到存档后两年 (730 天)。要修改此设置,在相应的文本框中,键入在保留期的天数。值的范围是从 1 到 24,855 天。When the item reaches the following age (in days) Click this button to specify that items be moved to archive after a certain period. By default, this setting is configured to move items to the archive after two years (730 days). To modify this setting, in the corresponding text box, type the number of days in the retention period. The range of values is from 1 through 24,855 days.

    • 注释使用此框可以键入将向 Outlook 和 Outlook Web App 的用户显示的注释。Comment Use this box to type a comment that will be displayed to Outlook and Outlook Web App users.

使用命令行管理程序修改存档策略Use the Shell to modify archive policies

本示例修改 Default 2 year move to archive标记以在 1,095 天(3 年)之后移动项目。This example modifies the Default 2 year move to archive tag to move items after 1,095 days (3 years).

Set-RetentionPolicyTag "Default 2 year move to archive" -Name "Default 3 year move to archive" -AgeLimitForRetention 1095

本示例禁用 Default 2 year move to archive标记。This example disables the Default 2 year move to archive tag.

Set-RetentionPolicyTag "Default 2 year move to archive" -RetentionEnabled $false

本示例检索所有存档 DPT 和个人标记并禁用它们。This example retrieves all archive DPTs and personal tags and disables them.

Get-RetentionPolicyTag | ? {$_.RetentionAction -eq "MoveToArchive"} | Set-RetentionPolicyTag -RetentionEnabled $false

有关语法和参数的详细信息,请参阅 Set-RetentionPolicyTagGet-RetentionPolicyTagFor detailed syntax and parameter information, see Set-RetentionPolicyTag and Get-RetentionPolicyTag.

您如何知道这有效?How do you know this worked?

使用 Get-RetentionPolicyTag cmdlet 检索保留标记的设置。Use the Get-RetentionPolicyTag cmdlet to retrieve settings of the retention tag.

此命令检索属性的Default 2 year move to archive保留标记和管道Format-list cmdlet 以显示列表中的所有属性的输出格式。This command retrieves properties of the Default 2 year move to archive retention tag and pipes the output to the Format-List cmdlet to display all properties in a list format.

Get-RetentionPolicyTag "Default 2 year move to archive" | Format-List