Skip to main content
Skip table of contents

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

  1. Switch to the replication spec context and list the specs on the system.

    CODE
    delphix> cd replication/spec
    delphix replication spec> ls
    Objects
    REFERENCE           TARGETHOST               
    REPLICATION_SPEC-1  exampleHost.mycompany.com
    
    Operations
    create
  2. Select the replication spec to execute.

    CODE
    delphix replication spec> select REPLICATION_SPEC-1
    delphix replication spec "exampleHost.mycompany.com">
  3. Execute the spec.

    CODE
    delphix 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.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.