Siebel Tools Reference > Repositories > Renaming, Deleting, Backing Up, and Migrating Repositories >

Backing Up and Restoring Repositories


A configuration utility is generally used when backing up and restoring a repository. You use this utility to perform the following functions:

If you need to back up the entire content of the Siebel database, use the database utilities provided by your RDBMS vendor.

NOTE:  Whenever you make a change to the repository, compile all projects that belong to the latest version of the repository to create an updated .srf file. Keep a backup of the .srf file, so you can be sure .srf file truly reflects the contents of the updated repository.

When the Siebel Server and Database Server are installed, icons are created under the program group, which are called Configure DB Server and Configure Siebel Server. You only have to launch the Configure DB Server to invoke the command line you have written.

To import or export a repository under Windows

  1. Launch the Database Server Configuration Utility by choosing Start > Programs > Siebel Enterprise Server version_number > Configure DB Server.
  2. The Gateway Server Address screen appears.

  3. Specify your Gateway Server Address and Enterprise Server Name and click Next.
  4. The Installation and Configuration Parameters: Siebel Server Directory dialog box appears.

  5. In the Siebel Server Directory dialog box, either accept the default value or choose the Browse button to select a directory, and then click Next.
  6. The Installation and Configuration Parameters: Siebel Database Server Directory dialog box appears.

  7. Either accept the default value or choose the Browse button to select a directory, and then click Next.
  8. The Siebel Database Server Options: Siebel Database Operation dialog box appears.

  9. In the Siebel Database Server Options: Siebel Database Operations dialog box, select Import/Export Repository from the list of operations, and then click Next.
  10. The Import Repository Parameters: Select Repository Operation dialog box appears.

  11. Choose Import Repository, and then click Next.
  12. You can also choose the following options: Add language to an existing Repository, or Export Repository.

    The Import Repository Parameters: Import Selection dialog box appears.

  13. Choose Import Standard Siebel Repository or Import Custom Repository, and then click Next.
  14. The following succession of dialog boxes appears:

    Dialog Box
    Description
    Installation and Configuration Parameters: Language Selection
    Select a language and click Next. English is the default language.
    Installations and Configuration Parameters: RDBMS Platform
    Select a RDBMS Platform. IBM DB2 UDB v7.1 is the default selection.
    Installation and Configuration Parameters: ODBC Data Source Name
    Select the ODNBC Data Source Name.
    Installation and Configuration Parameters: Database User Name
    Select the Database User Name and Database Password.
    Installation and Configuration Parameters: Database Table Owner
    Select the Database Table Owner and Database Table Owner Password.
    Installation and Configuration Parameters: Import Repository Name
    Select the name of the repository that you want to import and the filename from which you are importing.
    Configuration Parameter Review
    Summary dialog box gives a list of your choices. You can accept the configuration by clicking Finish.

To import or export a repository under UNIX

  1. Source environment variables from $SIEBEL_ROOT.
  2. SIEBEL_ROOT should be the path of your Siebel installation directory.

    LANGUAGE should be set to the language in which the Configuration Wizard prompts appear; for example, enu for U.S. English.

    If either of these values is incorrect or empty, reset them using one of the following commands, as appropriate to the shell you use:

    setenv LANGUAGE New Value

    or

    export LANGUAGE|SIEBEL_ROOT=New Value

  3. Depending on your shell, enter:
  4. Korn shell

    export SIEBEL_LOG_EVENTS trace3

    C shell

    setenv SIEBEL_LOG_EVENTS trace3

    NOTE:  Setting trace to 3, creates an appropriate level of detail in the log file for this activity.

  5. Navigate to $SIEBEL_ROOT /bin and enter:
  6. dbsrvr_config.ksh

    This launches the Database Server Configuration Wizard.

  7. Review the values of the following environment variables and confirm whether or not the settings are correct by entering either Y or N.
  8. NOTE:  If either the SIEBEL_ROOT or LANGUAGE value is not set or is incorrect, you must correct them before proceeding.

  9. In the Siebel Server Directory dialog box, either accept the default value or choose the Browse button to select a directory, and then click Next.
  10. The Installation and Configuration Parameters: Siebel Database Server Directory dialog box appears.

  11. Either accept the default value or choose the Browse button to select a directory, and then click Next.
  12. The Siebel Database Operation screen appears.

  13. In the Siebel Database Operations screen, select Import/Export Repository.
  14. The Import Repository Parameters: Select Repository Operation screen appears.

  15. Choose Import Repository.
  16. The Import Repository Parameters: Import Selection screen appears.

  17. Choose Import Standard Siebel Repository or Import Custom Repository and click Next.
  18. The following succession of screens appears:
  19. Dialog Box
    Description
    Language Selection
    Select a language and click Next. English is the default language.
    RDBMS Platform
    Select a RDBMS Platform. IBM DB2 UDB v7.1 is the default selection.
    ODBC Data Source Name
    Select the ODNBC Data Source Name.
    Database User Name
    Select the Database User Name and Database Password.
    Database Table Owner
    Select the Database Table Owner and Database Table Owner Password.
    Import Repository Name
    Select name of the repository that you want to import and the filename from which you are importing.
    Configuration Parameter Review
    Summary dialog box gives a list of your choices. You can accept the configuration by entering Y.

NOTE:  You follow the same procedure for Export Repository.


 Siebel Tools Reference, Version 7.5, Rev. A 
 Published: 18 April 2003