Previous Topic: Export Policy Store Objects With Dependencies

Next Topic: Overview of the XML-based Data Format

Import Policy Data Using smobjimport

You can use the smobjimport tool to import the entire policy store or a single policy domain.

To import Policy data using smobjimport

  1. Navigate to one of the following locations:
    SOA Security Manager_installation

    Specifies the installed location of SOA Security Manager.

    SOA Security Manager_installation

    Specifies the installed location of SOA Security Manager.

  2. Enter the following command:
    smobjimport -ifile_name -dadmin-name -wadmin-pw -v -t
    

    Example: smobjimport -ipstore.smdif -dSOA Security Manager -wpassword -v -t

    Note: You only need to enter the .smdif file with the smobjimport command, since it automatically imports both the .smdif and .cfg files together if they are in the same directory. The environment properties stored in the .cfg file take precedence over the ones in the .smdif file. Thus, you can overwrite an environment’s data by pairing the .smdif file with a different .cfg file when running smobjimport.