This topic describes how to use the command line interface to add a replication specification to the Delphix Engine.
Unlike the GUI, the CLI supports the ability to manage multiple replication specifications within a single system. This allows updates to be sent to multiple systems from a single point.
Prerequisites
- You should review the topic Replication Overview to understand which objects are copied as part of a backup or restore operation, as well as the dependencies between objects.
Procedure
Switch to the replication spec context.
delphix> cd replication/spec
delphix replication spec> ls
Operations
create
Create a new replication spec.
delphix replication spec> create
delphix replication spec create *> ls
Properties
type: ReplicationSpec
name: (unset)
bandwidthLimit: (unset)
enabled: (unset)
encrypted: (unset)
objects: (required)
schedule: (unset)
targetCredential:
type: PasswordCredential
password: (required)
targetHost: (required)
targetPrincipal: (required)
Specify the target host name, user, and credentials.
delphix replication spec create *> set targetHost=exampleHost.mycompany.com
delphix replication spec create *> set targetPrincipal=delphix_admin
delphix replication spec create *> set targetCredential.password=password
- Specify the set of objects to replicate.
To replicate all dSources and VDBs on the system, specify `DOMAIN
as the list of objects.
delphix replication spec create *> set objects=`DOMAIN
To replicate a subset of Groups, VDBs and dSources, specify their names as a comma-separated list.
delphix replication spec create *> set objects=dExample1,dExample2
Commit the operation.
delphix replication spec create *> commit
`REPLICATION_SPEC-1
2 Comments
Stuart Williams
This page needs updating, the replication spec parameters are from an older release so more recent ones are missing.
Paul Wheeldon
SDD Secure replication
To create a Selective Data Distribution (SDD) type spec set the objectSpecification.type once SDD is enabled. See (IKB102 how to enable SDD) for enable procedure.
This parameter defaults to ReplicationList which implies a regular replication spec.