Creating a Project by Copying from Another Project
Create a project by copying contents from an existing project in Data Integration.
The existing project can be in the same workspace or another workspace. If the workspace is in a different tenancy from the current workspace, you need to set up cross-tenancy policies. See Policy Examples to Set Up Cross-Tenancy Access for Project Copy and Application Copy. The existing project must be in an active workspace.
When you create project B (target) by copying from project A (source), Data Integration performs the following actions:
- Creates the source project and its artifacts in the target workspace if the source project and its artifacts aren't present in the target, as follows:
- Copies all child artifacts in project A (folders, data flows, pipeline, tasks) to project B.
- Copies all dependent artifacts in project A (such as data assets and connections) to project B.
Note
Data Integration doesn't copy sensitive information in data assets such as passwords. After copying is complete, you must manually update the sensitive information fields of applicable data assets in the target project.
- If the source project and its artifacts are present in the target workspace, Data Integration uses the conflict resolution option that you choose to retain, replace, or duplicate the project and artifacts in the target.
A configuration UI steps you through the process of creating a project (the target) by copying from an existing project (the source). The steps include selecting the source project and specifying how to resolve potential name conflicts in the target.
Important
When a project copy request is in progress, don't edit or delete any artifact that's in the source project or target project until after the copy operation ends. Making modifications to artifacts in the source or target project during a copy operation might cause errors and result in a failed copy operation.
Use the oci data-integration copy-object-request create command and required parameters to create a project by copying an existing project:
oci data-integration copy-object-request create [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the CreateCopyObjectRequest operation to create a project by copying an existing project.