migratorxpress_preview_command
Build and preview a MigratorXpress migration command without executing it. Displays the exact CLI command with passwords masked for review before execution.
Instructions
Build and preview a MigratorXpress migration command WITHOUT executing it. Shows the exact CLI command with passwords masked. Does NOT execute the migration or validate database connectivity. After reviewing, pass the command to migratorxpress_execute_command.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auth_file | Yes | Path to authentication/credentials JSON file | |
| source_db_auth_id | Yes | Source database credential ID from the auth file | |
| source_db_name | Yes | Source database name to migrate from | |
| target_db_auth_id | Yes | Target database credential ID from the auth file | |
| target_db_name | Yes | Target database name to migrate to | |
| migration_db_auth_id | Yes | Migration tracking database credential ID from the auth file | |
| source_schema_name | No | Source schema name. If omitted, all schemas are migrated | |
| target_schema_name | No | Target schema name. Defaults to source schema name if omitted | |
| task_list | No | Tasks to run (e.g., ['translate', 'create', 'transfer'] for full migration, or ['diff'] for validation). Call migratorxpress_suggest_workflow to get the recommended task sequence. | |
| resume | No | Resume a previous run by RUN_ID | |
| fasttransfer_dir_path | No | Path to FastTransfer binary directory for parallel data transfer | |
| fasttransfer_p | No | FastTransfer parallel degree (number of threads per table transfer) | |
| ft_large_table_th | No | Row count threshold above which FastTransfer parallelism is used | |
| n_jobs | No | Number of concurrent table transfers | |
| cci_threshold | No | Row count threshold for clustered columnstore index creation on target | |
| aci_threshold | No | Row count threshold for auto-created indexes on target | |
| migration_db_mode | No | How to handle existing target database objects. preserve: keep existing objects. truncate: empty tables before loading. drop: drop and recreate objects. | |
| compute_nbrows | No | Compute row counts for source tables before transfer | |
| drop_tables_if_exists | No | Drop target tables before creating them | |
| load_mode | No | How to load data into target tables. truncate: clear target before loading. append: add to existing data. | |
| include_tables | No | Table include patterns, comma-separated. Supports wildcards | |
| exclude_tables | No | Table exclude patterns, comma-separated. Supports wildcards | |
| min_rows | No | Minimum row count filter -- only migrate tables with at least this many rows | |
| max_rows | No | Maximum row count filter -- only migrate tables with at most this many rows | |
| forced_int_id_prefixes | No | Column name prefixes to force integer identity mapping | |
| forced_int_id_suffixes | No | Column name suffixes to force integer identity mapping | |
| profiling_sample_pc | No | Percentage of rows to sample for data profiling (0-100) | |
| p_query | No | Parallelism degree for profiling queries | |
| min_sample_pc_profile | No | Minimum sample percentage for profiling small tables | |
| force | No | Force overwrite of existing migration data | |
| basic_diff | No | Use basic diff mode (row counts only, no checksum) | |
| without_xid | No | Disable transaction ID tracking during transfer | |
| fk_mode | No | How to handle foreign key constraints. trusted: create as trusted. untrusted: create and verify. disabled: skip FK creation. | |
| log_level | No | Logging verbosity level | |
| log_dir | No | Directory for log files | |
| no_banner | No | Suppress the startup banner | |
| no_progress | No | Disable progress bar display | |
| quiet_ft | No | Suppress FastTransfer console output during data transfer | |
| license | No | License key (will be masked in display) | |
| license_file | No | Path to license key file | |
| os_type | No | Target operating system for command formatting | linux |