Siebel Tools Reference > Repositories > Renaming, Deleting, Backing Up, and Migrating Repositories >
Using repimexp.exe for Importing, Exporting, and Creating a File Dump
The repimexp.exe program imports, exports, or creates a file dump of a repository. It can also do an INTL table import. INTL tables contain language-specific information and are a part of the repository.
You would rarely need to use repimexp.exe directly—you would use the configuration utility instead. The only circumstances when you would run repimexp.exe directly might be:
- You need to run repimexp.exe with special parameter settings that are inaccessible through the batch files.
- You need to perform a file dump.
To import a repository using repimexp
- In the command line, type the following:
repimexp /A I /G
language_codes
where language_codes
is a list such as ENU, FRA, JPN. Use ALL for all languages.
NOTE: If you want to import your repository with locale objects, you must specify at least one language code. Otherwise no locale objects will be imported. Therefore, when you compile the imported repository, it will not have any text in the user interface.
To export a repository using repimexp
- In the command line, type the following:
repimexp /A E argument_list
Export uses the arguments listed in Table 72.
Table 72. Parameter Settings Passed as Export Arguments to repimexp.exe
Parameter
|
Required
|
Meaning
|
/U <userName>
|
Yes
|
Siebel administrator user name.
|
/P <password>
|
Yes
|
Siebel password.
|
/C <ODBC data source>
|
Yes
|
ODBC data source. The default is the value in the SIEBEL_DATA_SOURCE environment variable.
|
/D <table owner>
|
Yes
|
Siebel database table owner. The default is the value in the SIEBEL_TABLE_OWNER environment variable.
|
/W <language code>
|
Yes
|
Language mode, such as ENU or JPN. The default is SIEBEL_LANGUAGE. If this is not set, the default is ENU.
|
/R <repository>
|
Yes
|
Repository name. The default is Siebel Repository.
|
/1 <export repository userName>
|
Yes
|
Export repository user name. The default is the same as for /U.
|
/2 <export repository password>
|
Yes
|
Export repository password. The default is the same as for /P.
|
/3 <export repository ODBC data source>
|
Yes
|
Export repository ODBC data source. The default is the same as for /C.
|
/4 <export repository table>
|
Yes
|
Export repository table owner. Use siebel for Oracle and DB2, dbo for MS SQL Server. The default is the same as for /D.
|
/5 <export repository>
|
Yes
|
Export repository name. The default is Siebel Repository.
|
/B <appServer root>
|
Yes
|
Siebel server installation directory to override SIEBEL_HOME environment variable.
|
/F <dataFile>
|
Yes
|
Data file, including path, to which to export.
|
/T <Y|N>
|
No
|
Test only, do not export into database.
|
/V <Y|N>
|
No
|
Verify data. The default is N.
|
/N <0|1|2>
|
No
|
Change creation and update information:
- 0= no change
- 1= change CREATED_BY, UPDATED_BY
- 2=change CREATED_BY, UPDATED_BY, dates columns
The default is 1.
|
/M <Y|N>
|
No
|
Commit changes even if verification fails. The default is N.
|
/L <logFile>
|
No
|
Log file for output messages.
|
To create a file dump using repimexp
- In the command line, type the following:
repimexp /A D /F <dataFile> [/L <logFile>]
To perform an INTL table import using repimexp
- In the command line, type the following:
repimexp /A X argument_list
INTL import uses the arguments listed in Table 73.
Table 73. Parameter Settings Passed as INTL Import Arguments to repimexp.exe
Parameter
|
Required
|
Meaning
|
/G <language codes>
|
Yes
|
A list of language codes such as ENU, FRA, JPN. Use ALL for all languages.
|
/O <Y|N>
|
Yes
|
Abort INTL import if unable to resolve parent row in server repository, that is orphans.
The default is N.
|
/I <Y|N>
|
Yes
|
Abort INTL import if insert fails.
The default is Y.
|