This topic describes how to detach dSources and re-attach them to a different source database.
Each dSource contains an association with the source database, as well as the data it has pulled from the source database up to that point. It is possible to detach, or unlink, a dSource from its source database. This breaks the association with the source database without affecting the data within the Delphix Engine. Detached dSources and their source databases have these properties:
- You can use detached dSources as the source of virtual database (VDB) provisioning operations.
- You can re-link the source database as a different dSource.
Detaching a dSource
- Login to the Delphix Admin application as a user with OWNER privileges on the dSource, group, or domain.
- Click Manage.
- Select My Databases.
- Select the database you want to unlink or delete.
- Click the Unlink icon.
A warning message will appear.
- Click Yes to confirm.
Attaching a dSource
The attach operation is currently only supported from the command line interface (CLI). Full GUI support will be added in a future release. Only databases that represent the same physical database can be re-attached
- Login to the Delphix CLI as a user with OWNER privileges on the dSource, group, or domain.
- Select the dSource by name using
database select <dSource>
.
- Run the
attachSource
command. - Set the source config to which you want to attach using
set source.config=<newSource>
. Source configs are named by their database unique name. Set any other source configuration operations as you would for a normal link operation.
- Run the
commit
command.