在 DPM 伺服器上執行防毒軟體Run antivirus software on the DPM server

重要

已不再支援此版本的 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.

DPM 與最常見的防毒軟體產品相容。DPM is compatible with most popular antivirus software products. 建議您執行下列步驟以避免發生衝突:We recommend the following steps to avoid conflicts:

  1. 停用即時監視 — 針對下列項目停用防毒軟體的即時監視:Disable real-time monitoring — disable real-time monitoring by the antivirus software for the following:

    • C:\Program Files<DPM Installation path>\XSD 資料夾C:\Program Files<DPM Installation path>\XSD folder

    • C:\Program Files<DPM Installation path>\Temp 資料夾C:\Program Files<DPM Installation path>\Temp folder

    • Modern Backup Storage 磁碟區的磁碟機字母Drive letter of Modern Backup Storage volume

    • 複本和傳送記錄 — 若要執行此操作,請停用 dpmra.exe 的即時監視,其位於 Program Files\Microsoft Data Protection Manager\DPM\bin 資料夾中。Replica and transfer logs — To do this, disable real-time monitoring of dpmra.exe, which is located in the folder Program Files\Microsoft Data Protection Manager\DPM\bin. 複本即時監視會降低效能,因為防毒軟體會在每次 DPM 與受保護的伺服器同步處理時掃描複本,以及在每次 DPM 套用變更至複本時掃描所有受影響的檔案。Real-time monitoring degrades performance because the antivirus software scans the replicas each time DPM synchronizes with the protected server, and scans all affected files each time DPM applies changes to the replicas.

    • 系統管理員主控台 — 若要避免效能受到影響,請停用 csc.exe 處理序的即時監視。Administrator console — To avoid an impact on performance, disable real-time monitoring of the csc.exe process. csc.exe 處理序是 C\# 編譯器,而即時監視會降低效能,因為防毒軟體會掃描 csc.exe 處理序在產生 XML 訊息時發出的檔案。CSC.exe 位於下列路徑:The csc.exe process is the C\# compiler, and real-time monitoring can degrade the performance because the antivirus software scans files that the csc.exe process emits when it generates XML messages.CSC.exe is located in the following paths:

      • \Windows\Microsoft.net\Framework\v2.0.50727\csc.exe\Windows\Microsoft.net\Framework\v2.0.50727\csc.exe
      • \Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe
    • 如果已在 DPM 服務器上安裝 MARS 代理程式以進行線上備份,則建排除下列檔案和位置:If you have installed MARS agent on the DPM server for online backup, we recommend that you exclude the following files and locations:

      • C:\Program Files\Microsoft Azure Recovery Services Agent\bin\cbengine.exe 作為處理序C:\Program Files\Microsoft Azure Recovery Services Agent\bin\cbengine.exe as a process
      • C:\Program Files\Microsoft Azure Recovery Services Agent\ 資料夾C:\Program Files\Microsoft Azure Recovery Services Agent\ folders
      • 臨時位置 (若未正在使用標準位置)Scratch location (if you're not using the standard location)
  2. 停用受保護伺服器的即時監視 — 停用 dpmra.exe 的即時監視,其位於受保護伺服器上的 C:\Program Files\Microsoft Data Protection Manager\DPM\bin 資料夾中。Disable real-time monitoring on the Protected Server — Disable the real time monitoring of dpmra.exe, which is located in the folder C:\Program Files\Microsoft Data Protection Manager\DPM\bin, on the protected server.

  3. 設定防毒軟體以刪除受保護伺服器與 DPM 伺服器上受感染的檔案 — 若要防止複本與復原點的資料損毀,請設定防毒軟體,使其刪除受感染的檔案,而不要自動加以清除或隔離。Configure anti-virus software to delete the infected files on protected servers and the DPM server — To prevent data corruption of replicas and recovery points, configure the antivirus software to delete infected files, rather than automatically cleaning or quarantining them. 自動清除和隔離可能會導致防毒軟體修改檔案,而產生 DPM 無法偵測的變更。Automatic cleaning and quarantining might cause the antivirus software to modify files, making changes that DPM cannot detect.

    您應該以一致的方式執行手動同步處理。You should run a manual synchronization with a consistency. 每次防毒軟體刪除複本中的檔案時,請檢查作業,即使複本標記為不一致也一樣Check the job each time that the antivirus software deletes a file from the replica, even though the replica is marked as inconsistent

DPM 安裝資料夾DPM installation folders

DPM 的預設安裝資料夾如下:The default installation folders for DPM are as follows:

  • DPM 2016 - C:\Program Files\Microsoft System Center 2016\DPMFor DPM 2016 - C:\Program Files\Microsoft System Center 2016\DPM
  • DPM 2019 - C:\Program Files\Microsoft System Center\DPMFor DPM 2019 - C:\Program Files\Microsoft System Center\DPM

您也可以執行下列命令來尋找安裝資料夾路徑:You can also run the following command to find the install folder path:

Reg query "HKLM\SOFTWARE\Microsoft\Microsoft Data Protection Manager\Setup"/s/f "InstallPath"

後續步驟Next steps

設定 DPM 記錄Set up DPM logging