Share via


How to Run Eseutil /Y in Copy File Mode

 

You can use the Eseutil /Y switch to copy a database, streaming file, or log file. For best speed and stability, you should run Eseutil /Y from a local command prompt on the copy destination server rather than from an intermediate location. For more information about understanding the Eseutil copy file mode, see Eseutil /Y Copy File Mode.

Procedure

To run the Eseutil /Y command

  1. Type the syntax (as in examples below) at the local command prompt in the destinationfolder.

    • The following is an example of how to copy the priv1.edb file from server1 to your current location:

      ESEUTIL /Y \\server1\d$\priv1.edb
      
    • The following is an example of how to copy the priv1.edb file from sever1 to server2 specifying the full path and file names for both source and destination:

      ESEUTIL /Y \\server1\d$\priv1.edb /D\\server2\d$\priv1.edb
      

      Note

      Unlike the default copy command, you must use the /D switch when you specify the destination location.

Command Line Syntax

The following is the command line reference that can be obtained by running Eseutil /? and "Y" from the Exchsrvr\bin folder:

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.

For More Information

For more information, see the following topics in the Exchange Server Database Utility Guide: