- Specify the data transfer type if you launch the data transfer in the web console.
- Set the stop condition if you launch the data transfer by using the CLI or other developer tools.
Data transfer type (web console)
When you create a data transfer in the web console, you can select the data transfer type:- One-time transfer: Data transfer is completed after just one iteration. One-time transfers are designed for data migration and backup.
- Replication: Iterations continue until you stop or delete the data transfer. Replications are designed for continuous synchronization between a source and a destination.
Stop condition (developer tools)
When you use the CLI or other developer tools to create a data transfer, set a stop condition in the data transfer configuration. This condition specifies when the data transfer should stop. The configuration must include exactly one of the following options:-
.spec.after_one_iteration(same as the One-time transfer type): Transfer stops after completing its first iteration. The value should be an empty object.- CLI
- Terraform
-
.spec.after_n_empty_iterations: Transfer stops after a number of consecutive empty iterations. For example, after five iterations:- CLI
- Terraform
-
.spec.infinite(same as the Replication type): Transfer continues indefinitely until manually stopped.- CLI
- Terraform
Interval between iterations
For data transfers with more than one iteration, you can optionally configure an interval between iterations:- Web console
- CLI
- Terraform
In the web console, this setting appears under Interval between iterations when you create or modify a data transfer.
1h20m40s.