-->
edocs Home > Oracle WebLogic Server Documentation > Administration Console Online Help > Export data from

Export data from security realms

Before you begin

Understand when you would want to migrate security data. See Overview of Security Data Migration.

Understand the concepts associated with importing and exporting security data. See Migration Concepts.


Security data (authentication, authorization, credential map, and role data) from one security realm can be exported into a file and then imported into another security realm. This feature allows you to develop and test new security realms without recreating all the security data (for example, when moving a development security realm to production). Only information from the WebLogic security providers can be exported and imported. Two options are available:

  • Export all security data from all of the security providers in a security realm, as described in this topic.

  • Export specific data (for example, user and groups or roles) from a specific provider. For information, see Export data from a security provider.

Note: You can only export and import security data between security realms in the same WebLogic Server release.

To export security data to a file:

  1. In the left pane, select Security Realms and then select the realm whose security data you want to export (for example, myrealm)..

  2. Expand Migration > Export.

  3. In the Export Directory on Server field, specify the directory on the Admin Server to which to export the security data.

  4. Click Save.

    The security data is saved in a file in the location you specified.

After you finish

Import the security data into the target security realm. See Import data into security realms. } } (document.images){ dcs_imgarray[dcs_ptr] = new Image; dcs_imgarray[dcs_ptr].src = dcs_src; WT[myMeta.name.substring(3)]=myMeta.content; } if DCSext[myMeta.name.substring(7)]=myMeta.content; } } } } for (N in DCS){P+=A( N, DCS[N]);} for (N in WT){P+=A( "WT."+N, WT[N]);} for (N in DCSext){P+=A( N, DCSext[N]);} //} aCrumb=aCookie[i].split("="); if (crumb==aCrumb[0]){ return aCrumb[1]; } } return null; } i=0;i