Tips for ImportExport Import and Export Concepts

19-10 Oracle Fusion Middleware Developers Guide for Oracle Data Integrator

19.3 Repository-Level ExportImport

At repository level you can export and import the master repository and the work repositories.

19.3.1 Exporting and Importing the Master Repository

The master repository exportimport procedure allows you to transfer the whole repository Topology and Security domains included from one repository to another. It can be performed in Topology Navigator, to import the exported objects in an existing repository, or while creating a new master repository. Exporting the Master Repository in Topology Navigator The objects that are exported when exporting the master repository are objects, methods, profiles, users, languages, versions if option selected, solutions if option selected, open tools, password policies, entities, links, fields, lookups, technologies, datatypes, datatypes conversions, logical agents, contexts and the child objects. To export a master repository: 1. From the Topology Navigator toolbar menu select Export Master Repository...

2. In the Export dialog, set the Export parameters as indicated in

Table 19–2 . The master repository and its topology and security settings are either exported as .xml files directly into the directory, or as a zip file containing .xml files. If you want to generate a zip file, you need to select Export to zip file and enter the name of the zip file in the Zip File Name field.

3. Select Export versions, if you want to export all stored versions of objects that are

stored in the repository. You may wish to unselect this option in order to reduce the size of the exported repository, and to avoid transferring irrelevant project work.

4. Select Export solutions, if you want to export all stored solutions that are stored in

the repository. You may wish to unselect this option for similar reasons.

5. Click OK.

The export files are created in the specified export directory. Importing the Master Repository To import the exported master repository objects into an existing master repository: 1. From the Topology Navigator toolbar menu select Import Master Repository...

2. In the Import dialog:

WARNING: Replacing a Knowledge module by another one in Oracle Data Integrator sets the options in the new module using the option name similarities with the old modules options. New options are set to the default value. It is advised to check the values of these options in the interfaces as well as the interfaces design and execution with the new KM. Refer to the Import Replace mode description in the Section 19.1.3, Import Modes for more information. ExportingImporting 19-11

1. Select the Import Mode. Refer to

Section 19.1.3, Import Modes for more information.

2. Select whether you want to import the files From a Folder or From a ZIP file.

3. Enter the file import folder or zip file.

3. Click OK.

The master repository contains now the objects you have imported. Creating a new Master Repository using a previous Master export To create a new master repository using an export of another master repository:

1. Open the New Gallery by choosing File New.

2. In the New Gallery, in the Categories tree, select ODI.

3. Select from the Items list the Master Repository Import Wizard.

4. Click OK.

The Master Repository Import Wizard appears.

5. Specify the Database Connection parameters as follows:

■ Login : User IDlogin of the owner of the tables you have created for the master repository ■ JDBC Driver : The driver used to access the technology, which will host the repository. ■ JDBC URL : The complete path for the data server to host the repository. Note that the parameters JDBC Driver and URL are synchronized and the default values are technology dependant. ■ User : The user idlogin of the owner of the tables. ■ Password : This users password. ■ DBA User : The database administrator’s username ■ DBA Password : This user’s password

6. Specify the Repository Configuration parameters as follows:

■ ID : A specific ID for the new master repository, rather than the default 0. This will affect imports and exports between repositories. ■ Use a Zip File : If using a compressed export file, check the Use a Zip File box and select in the Export Zip File field the file containing your master repository export. ■ Export Path : If using an uncompressed export, select the directory containing the export in the Export Path field. ■ Technology : From the list, select the technology your repository will be based on.

7. Click Test Connection to test the connection to your master repository.

WARNING: All master repositories should have distinct identifiers. Check that the identifier you are choosing is not the identifier of an existing repository