Importing a Folder, Task, Data Flow, or Pipeline
Import a folder, task, data flow, or pipeline to a project or folder in Data Integration.
When importing, you have the option to exclude importing data assets that already exist in the target. If you exclude existing data assets in an import request, Data Integration performs the following actions:
-
If source objects have references to data assets that are already present in the target, Data Integration does not import those data assets or touch the existing data assets in the target.
-
If source objects have references to data assets that are not present in the target, Data Integration imports those data assets to the target. This ensures that objects such as data flows load correctly in the target after importing for the first time. In subsequent imports to the same target, this ensures that only new source data assets are imported to the target.
Before importing a folder, see Considerations When Using Export and Import for information about objects that have references to objects across folders in a project.
To import a folder, task, data flow, or pipeline, specify the exported object's zip file and its Object Storage location. Ensure that you have the relevant permissions and IAM policies as described in Required Setup and Policies.
-
To import a whole project and its contents, see Importing a Project.
-
To import a task, data flow, or pipeline into an existing folder, navigate to the Folders list where the folder is listed in the project. Then click the Actions menu () of the folder and select Import.
Use the oci data-integration import-request create command and required parameters to import the object:
oci data-integration import-request create [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the CreateImportRequest operation with the appropriate request details to import the object.