Running the Extraction tool

You can run the extraction tool in two modes: pre-extract and extract.

About this task

To run the extraction tool in debug mode, you must run a .bat or shell file for a corresponding mode of extraction (pre-extract, extract, and post-extract). A .bat or shell file with _debug suffix is available for each mode of extraction. The list of such files is as follows:
  • run_migration_tool_debug.bat (extract mode)
  • run_migration_tool_debug.sh (extract mode)
  • run_post_migration_debug.bat (post-migration mode)
  • run_post_migration_debug.sh (post-migration mode)
  • run_pre_extract_debug.bat (pre-extract mode)
  • run_pre_extract_debug.sh (pre-extract mode)
When you run the file is run with debug option enabled, the SQL is printed to the log file before execution.

Procedure

To run the extraction tool in either of the modes, complete the following steps:

  1. Run the command prompt.
  2. To run the extraction tool in the Pre-extract mode, you must run one of the following files from the <folder-location>/migration-tool/scripts folder:
    • Windows: run_pre_extract.bat
    • Linux: run_pre-extract.sh
  3. To run the extraction tool in the Extract mode, you must run one of the following files from the <folder-location>/migration-tool/scripts folder:
    • Windows: run_migration_tool.bat
    • Linux: run_migration_tool.sh