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
Select the dSource to be changed and run the
updatecommand.CODEdelphix> database "example" delphix "example"> updateGet the current property using dot-delimited notation.
CODEdelphix "example" update *> get sourcingPolicy.logsyncEnabled trueThe property could also be set using dot-delimited notation, but for illustrative purposes, we can also use the
editcommand and set it directly.CODEdelphix "example" update *> edit sourcingPolicy delphix "example" update sourcingPolicy *> set logsyncEnabled=falseCommit the state, either from within the editing context or after running
backto return to the parent context.CODEdelphix "example" update sourcingPolicy *> commit delphix "example">