--workflow <NAME> | Workflow name | create, show, status, switch-traffic, reverse-traffic, complete, cancel |
--source-keyspace <KEYSPACE_NAME> | Keyspace to copy tables from | create |
--target-keyspace <KEYSPACE_NAME> | Keyspace to copy tables to. On list, defaults to the branch’s default keyspace | list, create, show, status, switch-traffic, reverse-traffic, complete, cancel |
--tables <TABLE_NAMES> | Tables to move (comma-separated). Mutually exclusive with --all-tables and --exclude-tables | create |
--all-tables | Move all tables from the source keyspace | create |
--exclude-tables <TABLE_NAMES> | Tables to skip when moving (comma-separated) | create |
--auto-start | Start the workflow after creation (default true) | create |
--stop-after-copy | Stop the workflow after the copy phase | create |
--defer-secondary-keys | Defer secondary indexes until copy finishes (default true) | create |
--on-ddl <ACTION> | DDL handling: IGNORE, STOP, EXEC, EXEC_IGNORE | create |
--sharded-auto-increment-handling <ACTION> | AUTO_INCREMENT handling for sharded targets: LEAVE, REMOVE, REPLACE | create |
--global-keyspace <KEYSPACE_NAME> | Unsharded keyspace for sequence tables when --sharded-auto-increment-handling is REPLACE | create |
--source-time-zone <TIME_ZONE> | Convert DATETIME values from this timezone to UTC | create |
--tenant-id <ID> | Tenant ID for multi-tenant MoveTables | create |
--cells <CELLS> | Cells to restrict the workflow to (comma-separated) | create |
--tablet-types <TYPES> | Tablet types for the workflow or traffic switch (comma-separated). Use REPLICA,RDONLY for reads and PRIMARY for writes | create, switch-traffic, reverse-traffic |
--atomic-copy | Use atomic copy | create |
--dry-run | Show what would happen without applying it | switch-traffic, reverse-traffic, complete |
--initialize-target-sequences | Initialize target sequences when switching traffic | switch-traffic |
--max-replication-lag-allowed <SECONDS> | Maximum replication lag allowed before switching | switch-traffic, reverse-traffic |
--keep-data | Keep copied data in the target (true) or remove it (false) | complete, cancel |
--keep-routing-rules | Keep routing rules (true) or remove them (false) | complete, cancel |
--rename-tables | Rename source tables instead of dropping them | complete |