Skip to main content
Delphix

Migrating VDB Using an API Call (KBA3809)

 

KBA

KBA# 3809

Migrating VDB Using an API Call

Migrating a VDB using an API call is a multi-step process.

  • Disable VDB source

  • Update VDB sourceconfig with User and Repository to point to the new environment

  • Enable and restart VDB source

There are several parameters you will need to know:

  • Source reference for the VDB to be migrated.  
    See the API list operation on "/api#source" on your Delphix Engine.

  • Sourceconfig reference for the VDB to be migrated.  
    See the API list operation on "/api#sourceconfig" on your Delphix Engine.

  • The Environment User reference ID for the new target environment.  
    See the API list operation on "/api/#EvironmentUser" on your Delphix Engine.

  • The Repository reference for the new target environment.  
    See the API list operation on "api/#repository" on your Delphix Engine.

Example

POST /resources/json/delphix/source/ORACLE_VIRTUAL_SOURCE-1/disable
{
  "type": "OracleDisableParameters"
}

POST /resources/json/delphix/sourceconfig/ORACLE_SINGLE_CONFIG-2 {
  "type": "OracleSIConfig",
  "environmentUser": "HOST_USER-1",
  "repository": "ORACLE_INSTALL-2"
}
POST /resources/json/delphix/source/ORACLE_VIRTUAL_SOURCE-1/enable
{
  "type": "OracleEnableParameters"
}