使用 DPM 備份 SharePointBack up SharePoint with DPM

重要

已不再支援此版本的 Data Protection Manager (DPM),建議升級至 DPM 2019This version of Data Protection Manager (DPM) has reached the end of support, we recommend you to upgrade to DPM 2019.

您可以部署 System Center Data Protection Manager (DPM) 來保護 SharePoint 伺服器陣列、外部 SQL Server 資料庫,以及包括伺服器陣列自訂項目的資料夾。You can deploy System Center Data Protection Manager (DPM) to protect SharePoint farms, external SQL Server databases, and folders that include farm customizations. 本文描述備份及復原 SharePoint 資料所需的步驟。This article describes the steps required to back up and recover SharePoint data. 下列各節提供設定和還原 SharePoint 備份資料的詳細資訊:The following sections provide detailed information about configuring and restoring backup data for SharePoint:

如需疑難排解的資訊,請參閱針對 SharePoint 和 DPM 進行疑難排解 (英文)。For information about troubleshooting, see Troubleshooting SharePoint and DPM.

必要條件和限制Prerequisites and limitations

  • 如需支援的 SharePoint 版本清單以及備份所需的 DPM 版本清單,請參閱 What can DPM back up? (DPM 可以備份的內容)。For a list of supported SharePoint versions and the DPM versions required to back them up see What can DPM back up?

  • 根據預設,當您保護 SharePoint 所有的內容資料庫時,(SharePoint_Config 和 SharePoint_AdminContent* 資料庫) 都會受到保護。By default when you protect SharePoint all content databases (and the SharePoint_Config and SharePoint_AdminContent* databases) will be protected. 如果您想要加入自訂項目,如搜尋索引、範本或應用程式服務資料庫,或者使用者設定檔服務,這些項目必須分別設定保護。If you want to add customizations such as search indexes, templates or application service databases, or the user profile service you'll need to configure these for protection separately. 請確定對包括這些類型功能或自訂檔案的所有資料夾啟用保護。Be sure that you enable protection for all folders that include these types of features or customization files.

  • DPM 2012 R2 具備 Update 5 之後的版本可以保護使用 AlwaysOn 的 SharePoint 資料庫。SharePoint databases using AlwaysOn can be protected from DPM 2012 R2 with Update 5 onwards.

  • 您無法保護作為 SQL Server 資料來源的 SharePoint 資料庫。You can't protect SharePoint databases as a SQL Server data source. 您可以從伺服器陣列備份復原個別的資料庫。You can recover individual databases from a farm backup.

  • 請記住,作為本機系統執行以備份 SQL Server 資料庫的 DPM,需有該帳戶的 SQL Server 系統管理員權限。Remember that for DPM runs as Local System and to backup SQL Server databases it needs sysadmin privileges on that account for the SQL server. 在您想要備份的 SQL Server 上,將 NT AUTHORITY\SYSTEM 設成系統管理員。On the SQL Server you want to back up set NT AUTHORITY\SYSTEM to sysadmin.

  • 在伺服器陣列中,每一千萬個項目即必須至少有 2 GB 的磁碟區空間供 DPM 資料夾使用。For every 10 million items in the farm, there must be at least 2 GB of space on the volume where the DPM folder is located. 這是類別目錄產生的必要空間。This space is required for catalog generation. 為讓您能使用 DPM 執行特定項目的復原 (網站集合、網站、清單、文件庫、資料夾、個別文件及清單項目),類別目錄產生會建立各個內容資料庫包含的 URL 清單。To enable you to use DPM to perform a specific recovery of items (site collections, sites, lists, document libraries, folders, individual documents, and list items), catalog generation creates a list of the URLs contained within each content database. 您可以在 [DPM 系統管理員主控台] 中 [復原] 工作區的 [可復原的項目] 窗格中檢視 URL 清單。You can view the list of URLs in the recoverable item pane in the Recovery task area of DPM Administrator Console.

  • 在 SharePoint 伺服器陣列中,如果有以 SQL Server 別名設定的 SQL Server 資料庫,請在 DPM 保護的前端網頁伺服器上安裝 SQL Server 用戶端元件。In the SharePoint farm, if you have SQL Server databases that are configured with SQL Server aliases, install the SQL Server client components on the front-end Web server that DPM will protect.

  • SharePoint 2013 不支援保護應用程式存放區項目。Protecting application store items isn't supported with SharePoint 2013.

  • DPM 不支援保護遠端 FILESTREAM。DPM doesn't support protecting remote FILESTREAM. FILESTREAM 不應該是資料庫的一部分。The FILESTREAM should be part of the database.

在您開始使用 Intune 之前Before you start

  1. 部署 DPM:確認已正確安裝與部署 DPM。Deploy DPM - Verify that DPM is installed and deployed correctly. 若尚未完成此動作,請參閱:If you haven't see:

  2. 設定儲存空間:備份資料可以儲存在磁碟、磁帶及 Azure 雲端。Set up storage - You can store backed up data on disk, on tape, and in the cloud with Azure. 深入了解 Prepare data storage (準備資料儲存空間)。Read more in Prepare data storage.

  3. 設定 DPM 保護代理程式:SharePoint 伺服器陣列的每一部伺服器都必須安裝 DPM 保護代理程式,包括 SQL Server。Set up the DPM protection agent - You'll need to install the DPM protection agent on every server in the SharePoint farm, including SQL Servers. 唯一的例外是,它只安裝在單一的 Web 前端 (WFE) 伺服器上。The only exception is that you only install it on a single Web Front End (WFE) server. 例如,如果單一伺服陣列中有兩部 WFE 伺服器、一部索引伺服器和一個雙節點 SQL Server 叢集,代理程式要安裝在索引伺服器、SQL Server 叢集的兩個節點以及其中一部 WFE 伺服器上。For example if you have a single farm with two WFE servers, an index server and a two-node SQL Server cluster you'd install the agent on the index server, both nodes in the SQL Server cluster, and one of the WFE servers. 因為 WFE 伺服器不裝載內容,所以 DPM 只要一部 WFE 伺服器有代理程式用為保護的進入點即可。Because WFE servers don't host content DPM only needs the agent on one of them to serve as the entry point for protection. 請參閱部署 DPM 保護代理程式Read Deploy the DPM protection agent.

    如果 SharePoint SQL Server 資料庫位於遠端,您就需要在其上設定 DPM 代理程式。If the SharePoint SQL Server database is remote you'll need to configure the DPM agent on it. 如果它已叢集化,則所有叢集節點都要安裝代理程式。If it's clustered then install the agent on all cluster nodes.

設定備份Configure backup

若要備份 SharePoint 伺服器陣列,您要使用 ConfigureSharePoint.exe 設定 SharePoint 保護,然後在 DPM 中建立保護群組。To back up SharePoint farm you configure protection for SharePoint by using ConfigureSharePoint.exe and then create a protection group in DPM.

  1. 執行 ConfigureSharePoint.exe:此工具會設定 SharePoint VSS 寫入器服務 (WSS),並提供具有 SharePoint 伺服器陣列認證的保護代理程式。Run ConfigureSharePoint.exe - This tool configures the SharePoint VSS Writer service (WSS) and provides the protection agent with credentials for the SharePoint farm. 部署好保護代理程式後,就可在前端網頁伺服器的 <DPM Installation Path>\bin 資料夾中找到 ConfigureSharePoint.exe 檔案。After you've deployed the protection agent the ConfigureSharePoint.exe file can be found in the <DPM Installation Path>\bin folder on the front-end Web server. 如有多部 WFE 伺服器,您只需要在其中一部安裝即可。If you have multiple WFE servers you only need to install it on one of them. 然後執行,如下所示:Run as follows:

    • 在 WFE 伺服器的命令提示字元中瀏覽至 <DPM installation location>\bin\,然後執行 ConfigureSharePoint [-EnableSharePointProtection] [-EnableSPSearchProtection] [-ResolveAllSQLAliases] [-SetTempPath ] ,其中:On the WFE server at a command prompt navigate to <DPM installation location>\bin\ and run ConfigureSharePoint [-EnableSharePointProtection] [-EnableSPSearchProtection] [-ResolveAllSQLAliases] [-SetTempPath ], where:

      • EnableSharePointProtection 會啟用 SharePoint 伺服器陣列的保護、啟用 VSS 寫入器,並註冊 DCOM 應用程式 WssCmdletsWrapper 的身分識別,以使用此選項輸入認證的使用者身分執行。EnableSharePointProtection enables protection of the SharePoint farm, enables the VSS writer, and registers the identify of the DCOM application WssCmdletsWrapper to run as a user whose credentials are entered with this option. 此帳戶應為伺服器陣列管理員,同時也是前端網頁伺服器的本機系統管理員。This account should be a farm admin and also local admin on the front-end Web Server.

      • EnableSPSearchProtection 會使用前端網頁伺服器 HKLM\Software\Microsoft\Microsoft Data Protection Manager\Agent\2.0\ 下的登錄機碼 SharePointSearchEnumerationEnabled,啟用 WSS 3.0 SP 搜尋的保護,並註冊 DCOM 應用程式 WssCmdletsWrapper 的身分識別,以使用此選項輸入認證的使用者身分執行。EnableSPSearchProtection enables the protection of WSS 3.0 SP Search by using the registry key SharePointSearchEnumerationEnabled under HKLM\Software\Microsoft\ Microsoft Data Protection Manager\Agent\2.0\ on the front-end Web Server, and registers the identity of the DCOM application WssCmdletsWrapper to run as a user whose credentials are entered with this option. 此帳戶應為伺服器陣列管理員,同時也是前端網頁伺服器的本機系統管理員。This account should be a farm admin and also local admin on the front-end Web Server.

      • ResolveAllSQLAliases 會顯示 SharePoint VSS 寫入器報告的所有別名,並向對應的 SQL Server 解析這些別名。ResolveAllSQLAliases displays all the aliases reported by the SharePoint VSS writer and resolves them to the corresponding SQL server. 它也會顯示其已解析的執行個體名稱。It also displays their resolved instance names. 伺服器如已鏡像,也會顯示鏡像的伺服器。If the servers are mirrored, it will also display the mirrored server. 它會報告所有未向 SQL Server 解析的別名。It reports all the aliases that are not being resolved to a SQL Server.

      • SetTempPath 會將環境變數 TEMP 和 TMP 設定到指定的路徑。SetTempPath sets the environment variable TEMP and TMP to the specified path. 如果是復原大型網站集合、網站、清單或項目,而伺服器陣列系統管理員的 Temporary 資料夾中沒有足夠的空間,項目層級復原就會失敗。Item level recovery fails if a large site collection, site, list or item is being recovered and there is insufficient space in the farm admin Temporary folder. 此選項讓您可以將暫存檔的資料夾路徑變更為具有足夠空間的磁碟區,其空間足以存放復原的網站集合或網站。This option allows you to change the folder path of the temporary files to a volume that has sufficient space to store the site collection or site being recovered.

    • 輸入伺服器陣列系統管理員認證。Enter the farm administrator credentials. 此帳戶應該是 WFE 伺服器上本機系統管理員群組的成員。This account should be a member of the local Administrator group on the WFE server. 如果伺服陣列管理員不是本機系統管理員,請授與 WFE 伺服器上的下列權限:If the farm administrator isn't a local admin grant the following permissions on the WFE server:

      • 將 DPM 資料夾 (%Program Files%\Microsoft Data Protection Manager\DPM) 的完整控制權授與 WSS_Admin_WPG 群組。Grant the WSS_Admin_WPG group full control to the DPM folder (%Program Files%\Microsoft Data Protection Manager\DPM). -A-A

      • 將 DPM 登錄機碼 (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Data Protection Manager) 的讀取存取權授與 WSS_Admin_WPG 群組。Grant the WSS_Admin_WPG group read access to the DPM Registry key (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Data Protection Manager).

      在執行 ConfigureSharePoint.exe 之後,SharePoint 伺服陣列系統管理員認證若有所變更,則必須重新執行 ConfigureSharePoint.exe。Ater running ConfigureSharePoint.exe you'll need to rerun it if there's a change in the SharePoint farm administrator credentials.

  2. 若要建立保護群組,請按一下 [保護] > [動作] > [建立保護群組] ,開啟 DPM 主控台的 [建立新保護群組精靈] 。To create a protection group, click Protection > Actions > Create Protection Group to open the Create New Protection Group wizard in the DPM console.

  3. 在 [選取保護群組類型] 中選取 [伺服器] 。In Select Protection Group Type select Servers.

  4. 展開 [選擇群組成員] 中有 WFE 角色的伺服器。In Select Group Members expand the server that holds the WFE role. 如有多部 WFE 伺服器,請選取安裝 ConfigureSharePoint.exe 的那一部。If there's more than one WFE server select the one on which you installed ConfigureSharePoint.exe. 深入了解 Deploy protection groups (部署保護群組)。Learn more in Deploy protection groups.

    當您展開 SharePoint 伺服器時,DPM 會查詢 VSS 以查看 DPM 可以保護的資料。When you expand the SharePoint server DPM queries VSS to see what data DPM can protect. 如果 SharePoint 資料庫位於遠端,DPM 會連接它。If the SharePoint database is remote DPM connects to it. 如未出現 SharePoint 資料來源,請確認 VSS 寫入器正在 SharePoint 伺服器和任何遠端 SQL Server 上執行,並確定 SharePoint 伺服器和遠端 SQL Server 上皆已安裝 DPM 代理程式。If SharePoint data sources don't appear, check that the VSS writer is running on the SharePoint server and any remote SQL Server, and ensure that the DPM agent is installed on both the SharePoint server and remote SQL Server. 此外,亦請確認 SharePoint 資料庫未在他處當成 SQL Server 資料庫保護。In addition ensure that SharePoint databases aren't being protected elsewhere as SQL Server databases.

  5. 在 [選擇資料保護方式] 中指定短期與長期備份的處理方式。In Select data protection method specify how you want to handle short and long-term backup. 短期備份一律是先儲存在磁碟,配合使用 Azure 備份從磁碟備份至 Azure 雲端的選項 (短期或長期皆適用)。Short-term back up is always to disk first, with the option of backing up from the disk to the Azure cloud with Azure backup (for short or long-term). 長期雲端備份還有另一種選擇,亦即設定在連線到 DPM 伺服器獨立的磁帶裝置或磁帶媒體櫃長期備份。As an alternative to long-term backup to the cloud you can also configure long-term back up to a standalone tape device or tape library connected to the DPM server.

  6. 在 [選擇短期目標] 中指定在磁碟上儲存短期備份的方式。In Select short-term goals specify how you want to back up to short-term storage on disk. 在 [保留範圍] 中指定磁碟保留資料的時間長度。In Retention range you specify how long you want to keep the data on disk. 在 [同步處理頻率] 中指定磁碟執行增量備份的頻率。In Synchronization frequency you specify how often you want to run an incremental backup to disk. 如不想設定備份間隔,您可在其接近復原點前再檢查,讓 DPM 在接近每個排程的復原點前執行快速完整備份。If you don't want to set a back up interval you can check Just before a recovery point so that DPM will run an express full backup just before each recovery point is scheduled.

  7. 如果想要將資料長期儲存在磁帶中,請在 [指定長期目標] 中指定磁帶資料的保留年限 (1-99 年)。If you want to store data on tape for long-term storage in Specify long-term goals indicate how long you want to keep tape data (1-99 years). 在 [備份頻率] 中指定磁帶備份應執行的頻率。In Frequency of backup specify how often backups to tape should run. 頻率是根據您指定的保留範圍而定︰The frequency is based on the retention range you've specified:

    • 當保留範圍是 1 到 99 年時,您可以選取以下備份頻率:每日、每週、每兩週、每月、每季、每半年或每年。When the retention range is 1-99 years, you can select backups to occur daily, weekly, bi-weekly, monthly, quarterly, half-yearly, or yearly.

    • 當保留範圍是 1 到 11 個月時,您可以選取以下備份頻率:每天、每週、每兩週或每月。When the retention range is 1-11 months, you can select backups to occur daily, weekly, bi-weekly, or monthly.

    • 當保留範圍是 1 到 4 週時,您可以選取以下備份頻率:每日或每週。When the retention range is 1-4 weeks, you can select backups to occur daily or weekly.

    在獨立磁帶機上,對於單一保護群組,DPM 會使用相同的磁帶來進行每日備份,直到該磁帶上的空間不足。On a stand-alone tape drive, for a single protection group, DPM uses the same tape for daily backups until there is insufficient space on the tape. 您也可以在磁帶上共置不同保護群組的資料。You can also colocate data from different protection groups on tape.

    「Select Tape and Library Details」 (選取磁帶和媒體櫃詳細資料) 頁面中,指定要使用的磁帶/媒體櫃,以及是否應該壓縮與加密磁帶資料。On the Select Tape and Library Details page specify the tape/library to use, and whether data should be compressed and encrypted on tape.

  8. 在 [檢閱磁碟配置] 頁面中,檢閱針對此保護群組配置的存放集區磁碟空間。In the Review disk allocation page review the storage pool disk space allocated for the protection group.

    [資料大小總計] 是您想要備份的資料大小,而要佈建在 DPM 上的 [磁碟空間] 是 DPM 建議的保護群組空間。Total Data size is the size of the data you want to back up, and Disk space to be provisioned on DPM is the space that DPM recommends for the protection group. DPM 會根據設定選擇理想的備份磁碟區。DPM chooses the ideal backup volume, based on the settings. 不過,您可以編輯 [磁碟配置詳細資料] 中的備份磁碟區選擇。However, you can edit the backup volume choices in the Disk allocation details. 對於工作負載,請在下拉式功能表中選取慣用的存放裝置。For the workloads, select the preferred storage in the dropdown menu. 您的編輯會變更 [可用的磁碟儲存體] 窗格中的 [儲存體總計] 和 [可用儲存體] 。Your edits change the values for Total Storage and Free Storage in the Available Disk Storage pane. 未佈建的空間是 DPM 建議您將加入磁碟區的儲存體數量,之後才能順利繼續備份。Underprovisioned space is the amount of storage DPM suggests you add to the volume, to continue with backups smoothly in the future.

  9. 在 [選擇複本的建立方式] 中,選取您想要的初始資料完整複寫處理方式。In Choose replica creation method select how you want to handle the initial full data replication. 如果您選擇要透過網路複寫,我們建議您選擇離峰時間。If you select to replicate over the network we recommended you choose an off-peak time. 若是大量資料或網路狀況不佳,請考慮使用卸除式媒體離線複寫資料。For large amounts of data or less than optimal network conditions, consider replicating the data offline using removable media.

  10. 在 [選擇一致性檢查選項] 頁面中,選取您想要自動執行一致性檢查的方式。In Choose consistency check options, select how you want to automate consistency checks. 只有當複本資料變得不一致,或是排程指示時,您才能執行檢查。You can enable a check to run only when replica data becomes inconsistent, or according to a schedule. 如果您不想設定自動一致性檢查,您可以在 DPM 主控台的 [保護] 區域中,以滑鼠右鍵按一下保護群組,然後選取 [執行一致性檢查] ,以手動方式隨時執行檢查。If you don't want to configure automatic consistency checking, you can run a manual check at any time by right-clicking the protection group in the Protection area of the DPM console, and selecting Perform Consistency Check.

  11. 如已選取使用 Azure 備份備份至雲端,請在 [指定線上保護資料] 頁面確定選取您想要備份至 Azure 的工作負載。If you've selected to back up to the cloud with Azure Backup, on the Specify online protection data page make sure the workloads you want to back up to Azure are selected.

  12. 在 [指定線上備份排程] 中指定 Azure 增量備份應該執行的頻率。In Specify online backup schedule specify how often incremental backups to Azure should occur. 您可以排程應該執行備份的頻率:每日/週/月/年以及日期/時間。You can schedule backups to run every day/week/month/year and the time/date at which they should run. 一天最多可以備份兩次。Backups can occur up to twice a day. 每次執行備份時,就會從儲存在 DPM 磁碟上的已備份資料複本,建立 Azure 資料復原點。Each time a back up runs a data recovery point is created in Azure from the copy of the backed up data stored on the DPM disk.

  13. 在 [指定線上保留原則] 中,您可以指定 Azure 如何保留每日/每週/每月/每年備份所建立的復原點。In Specify online retention policy you can specify how the recovery points created from the daily/weekly/monthly/yearly backups are retained in Azure.

  14. 在 [選擇線上複寫] 中指定完整資料初始複寫的方式。In Choose online replication specify how the initial full replication of data will occur. 您可以透過網路複寫,或執行離線備份 (離線植入)。You can replicate over the network, or do an offline backup (offline seeding). 離線備份會使用 Azure 匯入功能。Offline backup uses the Azure Import feature. 閱讀其他資訊Read more.

  15. 在 [摘要] 頁面上,檢閱您的設定。On the Summary page review your settings. 按一下 [建立群組] 後,就會執行資料的初始複寫。After you click Create Group initial replication of the data occurs. 完成時,保護群組在 [狀態] 頁面的狀態會顯示為 [確定] 。When it finishes the protection group status will show as OK on the Status page. 接著會根據保護群組設定執行備份。Backup then takes place in line with the protection group settings.

監視Monitoring

建立保護群組之後,就會執行初始複寫,且 DPM 會開始備份及同步處理 Exchange 資料。After the protection group's been created the initial replication occurs and DPM starts backing up and synchronizing the Exchange data. DPM 會監視初始同步處理和後續備份。DPM monitors the initial synchronization and subsequent backups. 您可以透過幾種方式來監視 SharePoint 資料:You can monitor the SharePoint data in a couple of ways:

  • 使用預設 DPM 監視可以設定主動監視的通知。Using default DPM monitoring can set up notifications for proactive monitoring. 透過發佈警示及設定通知。by publishing alerts and configuring notifications. 您可以透過電子郵件傳送重要、警告或資訊性警示,以及已具現化復原的狀態等通知。You can send notifications by e-mail for critical, warning, or informational alerts, and for the status of instantiated recoveries.

  • 如果使用 Operations Manager,您可以集中發佈警示。If you use Operations Manager you can centrally publish alerts.

設定監視通知Set up monitoring notifications

  1. 在 [DPM 系統管理員主控台] 中,依序按一下 [監視] > [動作] > [選項] 。In the DPM Administrator Console, click Monitoring > Action > Options.

  2. 按一下 [SMTP 伺服器] ,輸入伺服器名稱、連接埠與要做為通知傳送目的地的電子郵件地址。Click SMTP Server, type the server name, port, and email address from which notifications will be sent. 必須是有效地址。The address must be valid.

  3. 在 [已驗證的 SMTP 伺服器] 中,輸入使用者名稱和密碼。In Authenticated SMTP server , type a user name and password. 使用者名稱和密碼必須是擁有上述步驟中「寄件者」地址該人員的網域帳戶名稱,否則通知傳遞就會失敗。The user name and password must be the domain account name of the person whose "From" address is described in the previous step; otherwise, notification delivery fails.

  4. 若要測試 SMTP 伺服器設定,請按一下 [傳送測試電子郵件] ,輸入您想要 DPM 傳送測試訊息的電子郵件地址,然後按一下 [確定] 。To test the SMTP server settings, click Send Test E-mail, type the e-mail address where you want DPM to send the test message, and then click OK. 依序按一下 [選項] > [通知] ,然後選取要向收件者通知之警示的類型。Click Options > Notifications and select the types of alerts about which recipients want to be notified. 在 [收件者] 類型中,輸入您要 DPM 傳送通知副本的每位收件者電子郵件地址。In Recipients type the e-mail address for each recipient to whom you want DPM to send copies of the notifications.

發佈 Operations Manager 警示Publish Operations Manager alerts

  1. 在 [DPM 系統管理員主控台] 中,依序按一下 [監視] > [動作] > [選項] > [發佈警示] > [發佈作用中警示] 。In the DPM Administrator Console, click Monitoring > Action > Options > Alert Publishing > Publish Active Alerts

  2. 啟用 [發佈警示] 後,系統會將所有可能需要使用者動作的現有 DPM 警示發佈到 [DPM 警示] 事件記錄檔。After you enable Alert Publishing all existing DPM alerts that might require a user action are published to the DPM Alerts event log. DPM 伺服器上已安裝的 Operations Manager 代理程式便會接著將這些警示發佈到 Operations Manager,並在產生新警示時繼續更新主控台。The Operations Manager agent that is installed on the DPM server then publishes these alerts to the Operations Manager and continues to update the console as new alerts are generated.

還原 SharePoint 資料Restore SharePoint data

您可以復原 SharePoint 資料,如下所示:You can recover SharePoint data as follows:

  • 復原到原始位置Recover to the original location

  • 復原到替代位置。Recover to an alternate location. 請注意,您無法執行完整伺服器陣列復原到新位置。Note that you can't perform a full farm recovery to a new location.

  • 將資料複製到網路資料夾Copy the data to a network folder

  • 將資料複製到磁帶Copy the data to tape

請注意,若復原伺服器陣列:Note that to recover a farm:

  • 如果您將 SharePoint 伺服器做為 SQL Server 資料庫保護,您可以選取 [復原精靈] 中的 [SQL Server 資料庫] 來復原 SharePoint 資料。If you protected a SharePoint server as a SQL Server database, you can recover SharePoint data by selecting the SQL Server database in the Recovery Wizard.

  • 復原伺服器陣列時,請注意下列事項:Note the following to recover a farm:

    • 前端網頁伺服器應設定為和建立復原點時一樣。The front-end Web servers should be configured the same as they were when the recovery point was created.

    • 伺服器陣列結構必須建立在前端網頁伺服器上,陣列資料將會還原到現有的結構。The farm structure must be created on the front-end Web server; the farm data will be recovered to the existing structure.

    • SQL Server 執行個體會設定為與復原點建立時相同的名稱。The instances of SQL Server are configured with the same names as when the recovery point was created.

    • 建立復原點時會以相同的磁碟機組態設定 SQL Server 執行個體。The instances of SQL Server are configured with the same drive configuration as when the recovery point was created.

    • 復原伺服器陣列必須在主要伺服器陣列上安裝所有 Service Pack、語言套件及修補程式。The recovery farm must have all service packs, language packs, and patches installed on the primary farm.

    • 請勿嘗試直接復原管理中心內容資料庫或設定資料庫,因為這可能導致 SharePoint 伺服器陣列中的資料毀損。Don't directly try to recover the Central Administration content database or the configuration database because this could cause data corruption in the SharePoint farm.

    • [瀏覽] 索引標籤上顯示的 SharePoint 資料的復原點時間,可能與 [搜尋] 索引標籤上顯示的時間不同。[瀏覽] 索引標籤顯示的是伺服器陣列的備份時間,而 [搜尋] 索引標籤則列出站台、文件、資料夾的正確復原點時間。The recovery point time for SharePoint data displayed on the Browse tab may differ from the time displayed on the Search tab. The Browse tab displays the backup time for the farm, while the Search tab lists the correct recovery point time for sites, documents, and folders.

以下是伺服器陣列復原的可能情況:There a couple of possible scenarios for farm recovery:

  • 具有和備份時相同的伺服器陣列組態。A farm configuration exists as it did at the time of taking the backup. 在此情況下,您將會還原到正常運作的伺服器陣列。In this case, you will be restoring to a functioning farm.

  • 組態資料庫已損毀,且伺服器陣列中的伺服器已關機。The configuration database is corrupt and the servers in the farm are down.

將資料還原到正常運作的伺服器陣列Restore data to a functioning farm

  1. 在 [DPM 管理主控台] 中,按一下巡覽列上的 [復原] 。In DPM Administrator Console, click Recovery on the navigation bar.

  2. 在 [受保護的資料] 窗格中,展開包含您要復原之伺服器陣列的伺服器,然後按一下 [所有受保護的 SharePoint 資料] 。伺服器陣列會以「伺服器名稱\伺服器陣列名稱」的格式顯示在 [可復原] 項目窗格中。In the Protected data pane, expand the server that contains the farm you want to recover, and then click All Protected SharePoint Data.The farm displays in the Recoverable item pane as server name\farm name.

  3. 在行事曆上,按一下任何一個粗體日期即可知道該日期可用的復原點。On the calendar, click any date in bold to obtain the recovery points available for that date. [復原時間] 功能表會列出每個可用復原點的時間。The Recovery time menu lists the time for each available recovery point.

  4. 在 [復原時間] 功能表上,選取要使用的復原點。On the Recovery time menu, select the recovery point you want to use.

  5. 在 [動作] 窗格中,按一下 [復原] 。In the Actions pane, click Recover.

    [復原精靈] 會啟動。The Recovery Wizard starts.

  6. 在 [檢閱復原選項] 頁面上,按 [下一步] 。On the Review recovery selection page, click Next.

  7. 選取您要復原資料庫的位置。Select where you want to recover the database. 請注意:Note that:

    • 您無法將整個伺服器陣列復原到替代位置。You can't recover an entire farm to an alternate location.

    • 如果您選取 [複製到網路資料夾] ,且您選取的復原點不是透過快速完整備份所建立,您將會看到新的復原點選擇。If you select Copy to a network folder and the recovery point that you selected wasn't created from an express full backup, you'll be presented with new recovery point choices.

    • 如果您選取 [複製到磁帶] ,且您選取的復原點不是透過快速完整備份所建立,您將會看到新的復原點選擇。If you select Copy to tape and the recovery point that you selected wasn't created from an express full backup, you'll be presented with new recovery point choices. 對於磁帶選項,您將選取要用來復原的磁帶媒體櫃。For the tape option you'll select the tape library you want to use for recovery.

  8. 指定網路頻寬使用節流設定、SAN 型復原、電子郵件通知的復原選項,然後按 [下一步] 。Specify recovery options for network bandwidth usage throttling, SAN-based recovery, and e-mail notifications, and then click Next.

  9. 在 [摘要資訊] 頁面上,檢閱復原設定,然後按一下 [復原] 。On the Summary page, review the recovery settings, and then click Recover.

將資料還原到非正常運作的伺服器陣列Restore data to a non-functioning farm

  1. 建立與原始受保護的伺服器陣列使用相同 SQL Server 執行個體,及相同前端網頁伺服器的新伺服器陣列。Create a new farm that uses the same instance of SQL Server and the same front-end Web server as the original protected farm.

  2. 在 DPM 用來復原伺服器陣列資料的前端網頁伺服器上,請在命令提示字元執行下列命令:ConfigureSharePoint-EnableSharePointProtectionOn the front-end Web server that DPM uses to recover farm data, run the following command at the command prompt:ConfigureSharePoint-EnableSharePointProtection

  3. 在 [DPM 系統管理員主控台] 中,按一下巡覽列上的 [復原] 。In the DPM Administrator Console, click Recovery on the navigation bar.

  4. 在 [受保護的資料] 窗格中,展開包含您要復原之伺服器陣列的伺服器,然後按一下 [所有受保護的 SharePoint 資料] 。伺服器陣列會以「伺服器名稱\伺服器陣列名稱」的格式顯示在 [可復原] 項目窗格中。In the Protected data pane, expand the server that contains the farm you want to recover, and then click All Protected SharePoint Data.The farm displays in the Recoverable item pane as server name\farm name.

  5. 在行事曆上,按一下任何一個粗體日期即可知道該日期可用的復原點。On the calendar, click any date in bold to obtain the recovery points available for that date. [復原時間] 功能表會列出每個可用復原點的時間。The Recovery time menu lists the time for each available recovery point.

  6. 在 [復原時間] 功能表上,選取要使用的復原點。On the Recovery time menu, select the recovery point you want to use.

  7. 在 [動作] 窗格中,按一下 [復原] 。In the Actions pane, click Recover.

    [復原精靈] 會啟動。The Recovery Wizard starts.

  8. 在 [檢閱復原選項] 頁面上,按 [下一步] 。On the Review recovery selection page, click Next.

  9. 選取您要復原資料庫的位置。Select where you want to recover the database. 請注意:Note that:

    • 您無法將整個伺服器陣列復原到替代位置。You can't recover an entire farm to an alternate location.

    • 如果您選取 [複製到網路資料夾] ,且您選取的復原點不是透過快速完整備份所建立,您將會看到新的復原點選擇。If you select Copy to a network folder and the recovery point that you selected wasn't created from an express full backup, you'll be presented with new recovery point choices.

    • 如果您選取 [複製到磁帶] ,且您選取的復原點不是透過快速完整備份所建立,您將會看到新的復原點選擇。If you select Copy to tape and the recovery point that you selected wasn't created from an express full backup, you'll be presented with new recovery point choices. 對於磁帶選項,您將選取要用來復原的磁帶媒體櫃。For the tape option you'll select the tape library you want to use for recovery.

  10. 指定網路頻寬使用節流設定、SAN 型復原、電子郵件通知的復原選項,然後按 [下一步] 。Specify recovery options for network bandwidth usage throttling, SAN-based recovery, and e-mail notifications, and then click Next.

  11. 在 [摘要資訊] 頁面上,檢閱復原設定,然後按一下 [復原] 。On the Summary page, review the recovery settings, and then click Recover.

  12. 在伺服器陣列的主要前端網頁伺服器,執行 [SharePoint 產品及技術設定精靈],並將前端網頁伺服器從伺服器陣列中斷連線。On the main front-end Web server for the server farm, run the SharePoint Products and Technologies Configuration Wizard and disconnect the front-end Web server from the farm.

切換前端網頁伺服器Switching the Front-End Web Server

下列程序使用的範例為具有兩部前端網頁伺服器 (Server1 與 Server2) 的伺服器陣列。The following procedure uses the example of a server farm with two front-end Web servers, Server1 and Server2. DPM 使用 Server1 來保護陣列。DPM uses Server1 to protect the farm. 您必須將 DPM 所使用的前端網頁伺服器變更為 Server2,才能從陣列中移除 Server1。You need to change the front-end Web server that DPM uses to Server2 so that you can remove Server1 from the farm.

注意

如果 DPM 用來保護陣列的前端網頁伺服器無法使用,請使用下列程序,從第 4 步驟開始變更前端網頁伺服器。If the front-end Web server that DPM uses to protect the farm is unavailable, use the following procedure to change the front-end Web server by starting at step 4.

變更 DPM 用來保護陣列的前端網頁伺服器To change the front-end Web server that DPM uses to protect the farm

  1. 在命令提示字元執行下列命令,以停止 Server1 上的 SharePoint VSS 寫入器服務:Stop the SharePoint VSS Writer service on Server1 by running the following command at a command prompt:

    stsadm -o unregisterwsswriterstsadm -o unregisterwsswriter

  2. 在 Server1 上開啟登錄編輯程式,然後瀏覽到下列機碼:On Server1, open the Registry Editor and navigate to the following key:

    HKLM\System\CCS\Services\VSS\VssAccessControlHKLM\System\CCS\Services\VSS\VssAccessControl

  3. 檢查 VssAccessControl 子機碼中列出的所有值。Check all values listed in the VssAccessControl subkey. 如果有任何項目的值資料為 0,而且另一個 VSS 寫入器在相關的帳戶認證下執行,請將值資料變更為 1。If any entry has a value data of 0 and another VSS writer is running under the associated account credentials, change the value data to 1.

  4. 在 Server2 上安裝保護代理程式。Install a protection agent on Server2.

    警告

    如果兩部伺服器位於相同的網域,您就只能切換網頁前端伺服器。You can only switch Web front-end servers if both the servers are on the same domain.

  5. 在 Server2 的命令提示字元,將目錄變更為 <DPM 安裝位置> \bin\ 並執行 ConfigureSharepoint。On Server2, at a command prompt, change the directory to DPM installation location\bin\ and run ConfigureSharepoint. 如需 ConfigureSharePoint 的詳細資訊,請參閱設定備份For more information about ConfigureSharePoint, see Configure backup.

  6. 當伺服器陣列是保護群組的唯一成員,而且保護群組已設為使用磁帶型保護時,會發生已知問題。There is a known issue when the server farm is the only member of the protection group and the protection group is configured to use tape-based protection. 如果您的伺服器陣列在使用磁帶型保護的保護群組中是唯一成員,若要變更 DPM 用來保護陣列的前端網頁伺服器,您必須暫時新增另一個成員到保護群組,方法是執行下列步驟:If your server farm is the only member of the protection group using tape-based protection, to change the front-end Web server that DPM uses to protect the farm, you must temporarily add another member to the protection group by performing the following steps:

    • 在 [DPM 系統管理員主控台] 中,按一下巡覽列上的 [保護]In DPM Administrator Console, click Protection on the navigation bar.

    • 選取伺服器陣列所屬保護群組,然後按一下 [修改保護群組] 。Select the protection group that the server farm belongs to, and then click Modify protection group.

    • 在 [修改群組精靈] 中,將任何伺服器上的磁碟區新增到保護群組。In the Modify Group Wizard, add a volume on any server to the protection group. 在程序完成之後,您可以將這個磁碟區從保護中移除。You can remove this volume from the protection after the procedure is completed.

    • 如果保護群組的設定為短期磁碟型保護及長期磁帶型保護,請選取手動複本建立選項。If the protection group is configured for short-term disk-based protection and long-term tape-based protection, select the manual replica creation option. 如此可避免為您暫時新增到保護群組的磁碟區建立複本。This avoids creating a replica for the volume that you are temporarily adding to the protection group.

    • 完成精靈。Complete the wizard.

  7. 從保護群組中移除 Server1,並選取保留磁碟與磁帶上的複本。Remove Server1 from the protection group, selecting to retain the replicas on disk and tape.

  8. 選取伺服器陣列所屬保護群組,然後按一下 [修改保護群組] 。Select the protection group that the server farm belongs to, and then click Modify protection group.

  9. 在 [修改群組精靈] 中的 [選取群組成員] 頁面上,展開 Server2 並選取伺服器陣列,然後完成精靈。In the Modify Group Wizard, on the Select Group Members page, expand Server2 and select the server farm, and then complete the wizard.

    系統會開始一致性檢查。A consistency check will start.

  10. 如果您執行了第 6 步驟,現在就可以從保護群組中移除磁碟區。If you performed step 6, you can now remove the volume from the protection group.