如何在复制文件模式中运行 Eseutil /Y

 

上一次修改主题: 2006-06-12

可以使用 Eseutil /Y 开关复制数据库、流式文件或日志文件。为了获得最佳速度和稳定性,应从“复制目标”服务器上的本地命令提示符而不是从中间位置运行 Eseutil /Y。有关了解 Eseutil 复制文件模式的详细信息,请参阅 Eseutil /Y 复制文件模式

步骤

运行 Eseutil /Y 命令

  1. 在“目标”文件夹中的本地命令提示符处键入语法(如下面的示例所示)。

    • 下面是如何将 priv1.edb 文件从 server1 复制到当前位置的示例:

      ESEUTIL /Y \\server1\d$\priv1.edb
      
    • 下面是如何将 priv1.edb 文件从 sever1 复制到指定来源和目标的完整路径和文件名的 server2 的示例:

      ESEUTIL /Y \\server1\d$\priv1.edb /D\\server2\d$\priv1.edb
      
      note注意:
      与默认的复制命令不同,当您指定目标位置时,必须使用 /D 开关。

命令行语法

下面是可以通过从 Exchsrvr\bin 文件夹运行 Eseutil /? 和“M”获得的命令行参考。

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 数据库实用程序指南中的下列主题: