This documentation site is no longer maintained. For the latest Delphix product documentation, please visit help.delphix.com
Continuous Data

Yugabyte linking operations

dSource creation via CLI

To create a dSource via CLI, you must create a source configuration first. For more information on creating a source configuration, refer to Add Source Config using CLI.

To create a dSource and perform operations via CLI, log in to the Delphix Continuous Data Engine using the admin user account.

ssh admin@dlpx-engine.delphix.com

Set default linking parameters

This instruction is common for all types of ingestions.

Run the below commands to set the default linking parameters. The below example uses testscfg source config.

Example -
database link
set type=LinkParameters
set linkData.type=AppDataStagedLinkData	
set name=testds
set group=Untitled
set linkData.config=testscfg
set linkData.environmentUser=yb-load-tgt1/delphix_os
set linkData.stagingEnvironment=yb-load-tgt1
set linkData.stagingEnvironmentUser=yb-load-tgt1/delphix_os
set linkData.syncParameters.parameters={\"resync\":true}

Run the below commands to link parameters:

Example - 
set linkData.parameters="{ \
\"mount_path\":\"/mnt/provision/testds\", \
\"backup_location\":\"/home/yugabyte/backup/20240310040000\", \
\"ingest_new_backups\":true \
}"

Commit

Run the below command to commit the change

commit;

Disable

Run the below command to disable the dSource.

Example - 
source
select testdb
disable
commit

Enable

Run the below command to enable the dSource.

Example - 
source
select testdb
enable
commit