Starting the Oracle Migration Tool On Demand Client Command-Line Interface

The following procedure describes how to start the Oracle Migration Tool On Demand client command-line interface.

To start the Oracle Migration Tool On Demand client command-line interface

  1. Open a command-line prompt.

  2. Navigate to the directory where the MigrationTool.bat file for the operating system for your computer is located, as follows:

    • For a Windows operating system:

      Installation_Directory\windows
    • For any operating system other than a Windows operating system:

      Installation_Directory/other/MigrationTool

    In the directory path, Installation_Directory is the name of the directory where the Oracle Migration Tool On Demand ZIP file was unzipped.

  3. Use the MigrationTool.bat file to run the commands from the command line.

    The syntax is as follows:

    migrationtool -u UserID -s ServerURL [-f "LogFile"] [Read | ReadAll | Upsert | Delete] [Feature] [Parm1] [Parm2] [Parm3]
    

    where:

    • UserID is the user sign-in ID that has the appropriate privileges to run the Oracle Migration Tool On Demand client commands.

    • ServerURL is the URL of the Oracle CRM On Demand server where your company resides.

    • LogFile designates the name and location of the log file from the Oracle Migration Tool On Demand client run. For example:

      set outputDir=Oracle Migration Tool On Demand\test 
      
      migrationtool -u USERNAME -s http://slcxxxxxx.us.oracle.com:30090 -f "D:\%outputDir%\test.log" ReadAll FieldManagement 
      

      This parameter is optional. If you do not specify this parameter, then the Oracle Migration Tool On Demand client stores the log file in the default location, see Auditing and Log Files.

    • Feature is the type of configuration data that you are migrating. For example, for access profile configuration data, use AccessProfile.

      Note: The detailed syntax for running Oracle Migration Tool for each specific type of configuration data that you are migrating is provided in the chapter corresponding to that configuration data. For example, to migrate access profiles, see Migrating Access Profiles. It is recommended that you refer to the examples in each chapter that correspond to the configuration data that you are migrating.
    • [Parm1] [Parm2] [Parm3] are optional parameters, for example -proxyserver to specify a proxy server and -proxid to specify the proxy server user ID. For more information about specifying proxy servers, see Specifying Internet Proxy Server Information.

    The Oracle Migration Tool On Demand client requests your Oracle CRM On Demand password, which can be redirected (using the pipe command) to the client program from standard input; that is, from a file, from the command line, or from another program.