Skip to main content
Skip table of contents

CLI cookbook: disabling LogSync for a dSource

This topic provides a simple example of how the nested state is represented and manipulated. The LogSync state is maintained in the sourcingPolicy property of dSources, itself an object with several different fields.

Procedure

  1. Select the dSource to be changed and run the updatecommand.

    CODE
    delphix> database "example"
    delphix "example"> update
  2. Get the current property using dot-delimited notation.

    CODE
    delphix "example" update *> get sourcingPolicy.logsyncEnabled
        true
  3. The property could also be set using dot-delimited notation, but for illustrative purposes, we can also use the editcommand and set it directly.

    CODE
    delphix "example" update *> edit sourcingPolicy
    delphix "example" update sourcingPolicy *> set logsyncEnabled=false
  4. Commit the state, either from within the editing context or after running backto return to the parent context.

    CODE
    delphix "example" update sourcingPolicy *> commit
    delphix "example">


JavaScript errors detected

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

If this problem persists, please contact our support.