Share via


如何在複製檔案模式中執行 Eseutil /Y

 

上次修改主題的時間: 2006-06-12

您可以使用 Eseutil /Y 參數來複製資料庫、資料流檔案或記錄檔。為達到最佳速度和穩定性,您應該在 [複製目的地] 伺服器上從本機命令提示字元執行 Eseutil /Y,而不是從中間位置執行。如需瞭解 Eseutil 複製檔案模式的相關資訊,請參閱 Eseutil /Y 複製檔案模式

程序

執行 Eseutil /Y 命令

  1. 在本機命令提示字元的 [目的地]資料夾輸入語法 (如下例所示)。

    • 下面的範例說明如何從 server1 將 priv1.edb 檔案複製到目前位置:

      ESEUTIL /Y \\server1\d$\priv1.edb
      
    • 下面的範例說明如何從 sever1 將 priv1.edb 檔案複製到 server2,同時指定來源及目的兩者的完整路徑和檔案名稱:

      ESEUTIL /Y \\server1\d$\priv1.edb /D\\server2\d$\priv1.edb
      
      note附註:
      這與預設複製命令不同,您必須使用 /D 參數指定目的地位置。

命令列語法

可從 Exchsrvr\bin 資料夾執行 Eseutil /? 及 "Y" 來取得下列命令列參照:

COPY FILE:
    DESCRIPTION:  Copies a database, streaming file, or log file.
         SYNTAX:  ESEUTIL /y <source file> [options]
     PARAMETERS:  <source file> - name of file to copy
        OPTIONS:  zero or more of the following switches, separated by a space:
                  /d<file> - destination file (default: copy source file to current directory)
                  /o       - suppress logo
          NOTES:  1) If performed on arbitrary files, this operation may fail at the end of the file if its size is not sector-aligned.

相關資訊

如需相關資訊,請參閱《Exchange Server 資料庫公用程式手冊》中的下列主題: