降低探索 Exchange 中信箱的大小Reduce the size of a discovery mailbox in Exchange

有超過 50 GB 限制的探索信箱嗎?若要修正此問題,您可以建立新的探索信箱,然後將搜尋結果從較大的探索信箱複製到新的探索信箱。Have a discovery mailbox that's exceeded the 50 GB limit? You can fix this issue by creating new discovery mailboxes and copying the search results from the large discovery mailbox to the new ones.

我為何想要這樣做?Why would I want to do this?

在 Exchange Server 與 Exchange Online 中,用來儲存在就地 eDiscovery 搜尋結果的探索信箱的大小上限為 50 GB。在目前的大小限制之前, 您將能夠增加為超過 50 GB,可提升擁有探索信箱更加大於 50 GB 的存放區配額。有超過 50 GB 的探索信箱的三個問題:In Exchange Server and Exchange Online, the maximum size of discovery mailboxes, which are used to store In-Place eDiscovery search results, is 50 GB. Prior to the current size limit, you were able to increase the storage quota to more than 50 GB, which resulted in having discovery mailboxes much larger than 50 GB. There are three issues with discovery mailboxes that are larger than 50 GB:

  • 不受支援。They're not supported.

  • 無法移轉至 Office 365。They can't be migrated to Office 365.

  • 如果是 Exchange Server 2010 中的探索信箱,他們無法升級到更新的版本。If they're discovery mailboxes in Exchange Server 2010, they can't be upgraded to later versions.

程序概覽The process at a glance

以下簡略說明將超過 50 GB 限制的探索信箱縮小所需執行的動作:Here's a quick look at what you'll need to do to reduce the size of a discovery mailbox that's exceeded the 50 GB limit:

  1. 步驟 1:建立探索信箱其他探索信箱來分散搜尋結果。Step 1: Create discovery mailboxes additional discovery mailboxes to distribute the search results to.

  2. 將搜尋結果從現有的探索信箱步驟 2:將搜尋結果複製到探索信箱到一或多個新的探索信箱。Step 2: Copy search results to a discovery mailbox the search results from the existing discovery mailbox to one or more of the new discovery mailboxes.

  3. 從原始探索信箱步驟 3:刪除 eDiscovery 搜尋 eDiscovery 搜尋來降低大小。Step 3: Delete eDiscovery searches eDiscovery searches from the original discovery mailbox to reduce its size.

這裡提出的策略是根據日期範圍,將原始探索信箱的搜尋結果分組成個別的 eDiscovery 搜尋。有一個方法可快速將許多搜尋結果複製到新的探索信箱。下圖說明此方法。The strategy presented here groups the search results from the original discovery mailbox into separate eDiscovery searches that are based on date ranges. This is a quick way to copy many search results to a new discovery mailbox. The following graphic illustrates this approach.

降低探索信箱的大小

開始之前有哪些須知?What do you need to know before you begin?

  • 完成此工作的預估時間:時間隨著要複製到不同探索信箱的搜尋結果數量和大小而有所不同。Estimated time to complete this task: Time will vary based on the amount and size of the search results that will be copied to different discovery mailboxes.

  • 執行下列命令以判斷您的組織中的探索信箱大小。Run the following command to determine the size of the discovery mailboxes in your organization.

    Get-Mailbox -RecipientTypeDetails DiscoveryMailbox | Get-MailboxStatistics | FL DisplayName,TotalItemSize
    
  • 在超過 50 GB 限制的探索信箱中,決定是否需要保留部分或全部的搜尋結果。請依照本主題的步驟,將搜尋結果複製到不同的探索信箱,以保留搜尋結果。如果您不需要保留特定 eDiscovery 搜尋的結果,您可以依步驟 3 的說明來刪除搜尋。刪除搜尋會從探索信箱中刪除搜尋結果。Determine if you need to keep some or all of the search results from the discovery mailbox that's exceeded the 50 GB limit. Follow the steps in this topic to retain search results by copying them to a different discovery mailbox. If you don't need to keep the results of a specific eDiscovery search, you can delete the search, as explained in step 3. Deleting a search will delete the search results from the discovery mailbox.

  • 在超過 50 GB 限制的探索信箱中,如果您不需要其中任何搜尋結果,您可以刪除此信箱。如果這是佈建 Exchange 組織時所建立的預設探索信箱,您可以重新建立它。如需詳細資訊,請參閱 刪除並重新建立 Exchange 中預設的探索信箱If you don't need any of the search results from a discovery mailbox that's exceeded the 50 GB limit, you can delete it. If this is the default discovery mailbox that was created when your Exchange organization was provisioned, you can re-create it. For more information, see Delete and re-create the default discovery mailbox in Exchange.

  • 對於目前的法律案件,您可能想要將選取的 eDiscovery 搜尋的結果匯出至 .pst 檔案。這樣做可讓特定搜尋的結果保持不變。除了匯出包含搜尋結果的 .pst 檔案,也會匯出搜尋結果記錄檔 (.csv 檔案格式),其中,搜尋結果中傳回的每個郵件都有一個項目。此檔案中的每個項目可識別郵件所在的來源信箱。如需詳細資訊,請參閱 將 eDiscovery 搜尋結果匯出至 PST 檔For current legal cases, you might want to export the results of selected eDiscovery searches to .pst files. Doing this keeps the results from a specific search intact. In addition to the .pst files that contain the search results, a search results log (.csv file format) that contains an entry for each message returned in the search results is also exported. Each entry in this file identifies the source mailbox where the message is located. For more information, see Export eDiscovery search results to a PST file.

    將搜尋結果匯出至 .pst 檔案之後,如果想要將搜尋結果匯入到新的探索信箱,則需要使用 Outlook。After you export search results to .pst files, you'll need to use Outlook if you want to import them to a new discovery mailbox.

步驟 1:建立探索信箱Step 1: Create discovery mailboxes

第一步是建立其他探索信箱,讓您能夠從超過大小限制的探索信箱中複製搜尋結果。根據探索信箱的 50 GB 大小限制,決定需要另外再建立多少個探索信箱。接著,您需要指派必要的權限給使用者或群組來開啟這些新的探索信箱。The first step is to create additional discovery mailboxes so that you can copy the search results from the discovery mailbox that's exceeded the size limit. Based on the 50 GB size limit for discovery mailboxes, determine how many additional discovery mailboxes you'll need and create them. You'll then need to assign users or groups the necessary permissions to open these new discovery mailboxes.

  1. 執行下列命令以建立新的搜索信箱。Run the following command to create a new discovery mailbox.

    New-Mailbox -Name <discovery mailbox name> -Discovery
    
  2. 執行下列命令,將開啟探索信箱和檢視搜尋結果的權限指派給使用者或群組。Run the following command to assign a user or group permissions to open the discovery mailbox and view search results.

    Add-MailboxPermission <discovery mailbox name> -User <name of user or group> -AccessRights FullAccess -InheritanceType all
    

步驟 2:將搜尋結果複製到探索信箱Step 2: Copy search results to a discovery mailbox

下一步是使用 New-MailboxSearch 指令程式,從現有探索信箱中將搜尋結果複製到上一步所建立的新探索信箱。此程序使用 StartDateEndDate 參數,將搜尋結果的範圍設為不超過 50 GB 的批次。這可能需要一些測試 (藉由評估搜尋結果),才能適當地決定搜尋結果的大小。The next step is to use the New-MailboxSearch cmdlet to copy the search results from the existing discovery mailbox to a new discovery mailbox that you created in the previous step. This procedure uses the StartDate and EndDate parameters to scope the search results into batches that are no larger than 50 GB. This may require some testing (by estimating the search results) to size the search results appropriately.

  1. 執行下列命令以建立新的 eDiscovery 搜索。Run the following command to create a new eDiscovery search.

    New-MailboxSearch -Name "Search results from 2010" -SourceMailboxes "Discovery Search Mailbox" -StartDate "01/01/2010" -EndDate "12/31/2010" -TargetMailbox "Discovery Mailbox Backup 01" -EstimateOnly -StatusMailRecipients admin@contoso.com
    

    此範例使用下列參數:This example uses the following parameters:

    • Name 此參數指定新的 eDiscovery 搜尋名稱。因為是依傳送和接收日期來設定範圍,所以搜尋的名稱最好包含日期範圍。Name This parameter specifies the name of the new eDiscovery search. Because the search is scoped by sent and received dates, it's useful that the name of the search includes the date range.

    • SourceMailboxes 此參數指定預設探索信箱。您也可以指定另一個超過大小限制之探索信箱的名稱。SourceMailboxes This parameter specifies the default discovery mailbox. You can also specify the name of another discovery mailbox that's exceeded the size limit.

    • StartDateEndDate 這些參數指定預設探索信箱中的搜尋結果日期範圍,以併入搜尋結果中。StartDate and EndDate These parameters specify the date range of the search results in the default discovery mailbox to include in the search results.

      注意

      請使用簡短日期格式 (mm/dd/yyyy) 來指定日期,即使本機電腦的 [地區選項] 設定是設為不同的格式也一樣,例如 dd/mm/yyyy。例如,使用 03/01/2014 來指定 2014 年 3 月 1 日。For dates, use the short date format, mm/dd/yyyy, even if the Regional Options settings on the local computer are configured with a different format, such as dd/mm/yyyy. For example, use 03/01/2014 to specify March 1, 2014.

    • TargetMailbox 此參數指定應該將搜尋結果複製到名為 "Discovery Mailbox Backup 01" 的探索信箱。TargetMailbox This parameter specifies that search results should be copied to the discovery mailbox named "Discovery Mailbox Backup 01".

    • EstimateOnly 此參數指定開始搜尋時只預估將傳回的項目數。如果未包含此參數,則開始搜尋時會將郵件複製到目標信箱。使用此參數可讓您在必要時調整日期範圍,以增加或減少搜尋結果數目。EstimateOnly This switch specifies that only an estimate of the number of items that will be returned is provided when the search is started. If you don't include this switch, messages are copied to the target mailbox when the search is started. Using this switch lets you adjust the date ranges if necessary to increase or decrease the number of search results.

    • StatusMailRecipients 此參數指定應該將狀態訊息傳送給指定的收件者。StatusMailRecipients This parameter specifies that the status message should be sent to the specified recipient.

  2. 建立搜尋之後,使用命令介面或 Exchange 管理中心 (EAC) 來啟動搜尋。After the search is created, start it by using the Shell or the Exchange admin center (EAC).

    • 使用命令介面:執行下列命令來啟動上一步所建立的搜尋。因為建立搜尋時已包含 EstimateOnly 參數,所以不會將搜尋結果複製到目標探索信箱。Using the Shell: Run the following command to start the search created in the previous step. Because the EstimateOnly switch was included when the search was created, the search results won't be copied to the target discovery mailbox.
    Start-MailboxSearch "Search results from 2010"
    
    • 使用 EAC:移至 [規範管理] > [就地 eDiscovery & 保留]。選取上一步所建立的搜尋,按一下 [ 搜尋搜尋圖示],然後按 [估計搜尋結果]Using the EAC: Go to Compliance management > In-Place eDiscovery & hold. Select the search created in the previous step, click SearchSearch icon, and then click Estimate search results.
  3. 如有必要,調整日期範圍來增加或減少傳回的搜尋結果數量。如果您變更日期範圍,請再次執行搜尋來取得新的結果估計值。請考慮變更搜尋的名稱來反映新的日期範圍。If necessary, adjust the date range to increase or decrease the amount of search results that are returned. If you change the date range, run the search again to get a new estimate of the results. Consider changing the name of the search to reflect the new date range.

  4. 測試搜尋完成時,請使用命令介面或 EAC,將搜尋結果複製到目標探索信箱。When you're finished testing the search, use the Shell or the EAC to copy the search results to the target discovery mailbox.

    • 使用命令介面:執行下列命令來複製搜尋結果。您必須先移除 EstimateOnly 參數,才能複製搜尋結果。Using the Shell: Run the following commands to copy the search results. You have to remove the EstimateOnly switch before you can copy the search results.
    Set-MailboxSearch "Search results from 2010" -EstimateOnly $false
    
    Start-MailboxSearch "Search results from 2010"
    
  5. 重複步驟 1 到 4,為其他日期範圍建立新的搜尋。在新搜尋的名稱中包含日期範圍,以表示結果的範圍。為了確保探索信箱都不超過 50 GB 限制,請使用不同的探索信箱作為目標信箱。Repeat steps 1 through 4 to create new searches for additional date ranges. Include the date range in the name of the new search to indicate the range of the results. To make sure none of the discovery mailboxes exceeds the 50 GB limit, use different discovery mailboxes as the target mailbox.

步驟 3:刪除 eDiscovery 搜尋Step 3: Delete eDiscovery searches

將搜尋結果從原始探索信箱複製到另一個探索信箱之後,您就可以刪除原始的 eDiscovery 搜尋。刪除 eDiscovery 搜尋會從儲存搜尋結果的探索信箱中刪除搜尋結果。After you've copied search results from the original discovery mailbox to another discovery mailbox, you can delete the original eDiscovery searches. Deleting an eDiscovery search will delete the search results from the discovery mailbox where those search results are stored.

在刪除搜尋之前,您可以針對組織中的所有搜尋,執行下列命令來識別已複製到探索信箱的搜尋結果大小。Before deleting a search, you can run the following command to identify the size of the search results that have been copied to a discovery mailbox for all searches in your organization.

Get-MailboxSearch | FL Name,TargetMailbox,ResultSizeCopied

您可以使用命令介面或 EAC 來刪除 eDiscovery 搜尋。You can use the Shell or the EAC to delete an eDiscovery search.

  • 使用命令介面:執行下列命令。Using the Shell: Run the following command.

    Remove-MailboxSearch -Identity <name of search>
    
  • 使用 EAC:移至 [規範管理] > [就地 eDiscovery & 保留]。選取您要刪除的搜尋,然後按一下 [ 刪除刪除圖示]。Using the EAC: Go to Compliance management > In-Place eDiscovery & hold. Select the search that you want to delete, and then click DeleteDelete icon.

如何知道這是否正常運作?How do you know this worked?

在經由刪除 eDiscovery 搜尋而從儲存結果的探索信箱中移除結果之後,請執行下列命令來顯示所選取的探索信箱的大小。After you've deleted the eDiscovery searches to remove the results from the discovery mailbox where they were stored, run the following command to display the size of a selected discovery mailbox.

Get-Mailbox <name of discovery mailbox> | Get-MailboxStatistics | FL TotalItemSize