CLI cookbook: triggering immediate execution of a replication spec
This topic describes how to use the command-line interface to trigger an immediate execution of a replication spec in the Delphix Engine.
Procedure
Switch to the replication spec context and list the specs on the system.
CODEdelphix> cd replication/spec delphix replication spec> ls Objects REFERENCE TARGETHOST REPLICATION_SPEC-1 exampleHost.mycompany.com Operations create
Select the replication spec to execute.
CODEdelphix replication spec> select REPLICATION_SPEC-1 delphix replication spec "exampleHost.mycompany.com">
Execute the spec.
CODEdelphix replication spec "exampleHost.mycompany.com"> execute delphix replication spec "exampleHost.mycompany.com" execute *> commit Dispatched job JOB-7 REPLICATION_SEND job started. Connecting to target "exampleHost.mycompany.com". Preparing replication update. Starting incremental replication update. Sending metadata. Sending data for "Untitled". Sending data for "Untitled/redsox1". Transfer completed in 0:00:01, sent 1.39MB (1.39MB/s). Committing serialization state. REPLICATION_SEND job completed successfully.