Skip to main content

Module data_migration_api

Module data_migration_api 

Source

Enums§

ArchiveDataMigrationByPathError
struct for typed errors of method archive_data_migration_by_path
CreateDataMigrationError
struct for typed errors of method create_data_migration
DataMigrationDryRunError
struct for typed errors of method data_migration_dry_run
DataMigrationGetRunError
struct for typed errors of method data_migration_get_run
DataMigrationListRunsError
struct for typed errors of method data_migration_list_runs
DataMigrationRunError
struct for typed errors of method data_migration_run
DeleteDataMigrationByPathError
struct for typed errors of method delete_data_migration_by_path
ExistsDataMigrationByPathError
struct for typed errors of method exists_data_migration_by_path
GetDataMigrationByPathError
struct for typed errors of method get_data_migration_by_path
ListDataMigrationsError
struct for typed errors of method list_data_migrations
UpdateDataMigrationError
struct for typed errors of method update_data_migration

Functions§

archive_data_migration_by_path
create_data_migration
data_migration_dry_run
data_migration_get_run
data_migration_list_runs
data_migration_run
Pushes the migration onto the job queue and returns the job id immediately (#1212). It does not wait for the copy: the run’s progress, logs, result and cancel control are reached through the ordinary job endpoints under that id – /jobs_u/get/{id}, /jobs/get_progress/{id} (a progress_perc percentage, updated after each committed batch), /jobs_u/queue/cancel/{id} and the job SSE stream. Cancelling is not a rollback. The engine has no cross-batch transaction and no checkpoint (#1216), so cancelling an in-flight run stops it at the next batch boundary and leaves every batch that already committed in the target. The job’s error message names how many rows were written. A client must not present this operation as atomic. The dry-run operation stays synchronous – it is bounded by a sample row limit and is what an interactive mapping UI calls.
delete_data_migration_by_path
exists_data_migration_by_path
get_data_migration_by_path
list_data_migrations
update_data_migration