Using Siebel Tools > Archiving Objects > Importing from an Archive >

Using the Command Line to Import an Archive


You can use the command line to import objects from an archive.

To use the command line to import an archive

  1. In Siebel Tools, make sure the projects that the import affects are checked out or locked.

    You cannot use the command line to check out or lock these projects. For more information, see Checking Out and Locking Projects Before You Import an Archive.

  2. Open a command line, and then navigate to the following directory:

    SIEBEL_TOOLS_ROOT\BIN

  3. Run siebdev.exe. Use the following command:

    siebdev.exe /c config_file /d database /u user_name /p password /batchimport repository_name import_mode .sif file1, .sif file2, .sif fileN; or directory where SIF files can be found log_file

    You can use the full path or the relative path to the current directory to specify the SIF file and the log file.

Example of Using the Command Line to Import an Archive

The following example imports an archive:

siebdev.exe /c tools.cfg /d sample /u sadmin /p sadmin /batchimport "siebel repository" overwrite ..\import1.sif "C:\Program Files\Siebel\8.0\Tools\import2.sif" import.log

This command imports the following files:

  • The import1.sif file from the parent directory
  • The import2.sif file from the Siebel Tools installation directory

It uses the overwrite option for conflict resolution. It logs the results to the import.log file. For more information, see Options You Can Choose to Resolve a Conflict.

Example of Importing All Files

The following example imports all files:

siebdev.exe /c tools.cfg /d sample /u sadmin /p sadmin /batchimport "siebel repository" merge "C:\Program Files\Siebel\8.0\Tools\importfiledir" import.log

This command imports all files that exist in the following directory:

C:\Program Files\Siebel\8.0\Tools\importfiledir

It uses the merge option for conflict resolution. It logs the results to the import.log file.

Using Siebel Tools Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.