Export EEM polices using safex

Document ID : KB000049572
Last Modified Date : 14/02/2018
Show Technical Document Details

In order to export EEM policies and settings using safex, you have to create a file with commands that tells safex to export.
Once the export command file created you will then use safex and the import function on the export command file.

Command to import:
safex -h (EEM SERVER) -u EiamAdmin -p (EiamAdmin Password) -f (Import file or export command file)

Export Command File samples:
(All samples are outputted to a folder /tmp on UNIX, and C:\TEMP\ for Windows)
UNIX\LINUX ? WorkloadAutomationAE 11.3 Sample

<Safex>
<Attach label="WorkloadAutomationAE"/>

<!-- You can control the data to be exported by specifying the Yes(Y) or No(N). If you store the global users and global groups in CA's Management Database (CA-MDB) all the objects are exported.
You can override the maximum number of items that are returned by the backend server. The default is 2000. To change the maximum number of items to return, include the maxsearchsize="Value" -->

<Export file="/tmp/WorkloadAutomationAE_EEM_Export.txt" globalfolders="y" globalusergroups="y" globalusers="y" globalsettings="y" folders="y" usergroups="y" users="y" calendars="y" policies="y" appobjects="y"/>

<Detach/>
</Safex>

UNIX\LINUX ? WCC 11.3 Sample

<Safex>
<Attach label="WCC0003"/>

<!-- You can control the data to be exported by specifying the Yes(Y) or No(N). If you store the global users and global groups in CA's Management Database (CA-MDB) all the objects are exported.
You can override the maximum number of items that are returned by the backend server. The default is 2000. To change the maximum number of items to return, include the maxsearchsize="Value" -->

<Export file="/tmp/WCC0003_EEM_Export.txt" globalfolders="y" globalusergroups="y" globalusers="y" globalsettings="y" folders="y" usergroups="y" users="y" calendars="y" policies="y" appobjects="y"/>

<Detach/>
</Safex>

UNIX\LINUX ? AutoSys 11.0 Sample

<Safex>
<Attach label="UnicenterAutoSysJM"/>

<!-- You can control the data to be exported by specifying the Yes(Y) or No(N). If you store the global users and global groups in CA's Management Database (CA-MDB) all the objects are exported.
You can override the maximum number of items that are returned by the backend server. The default is 2000. To change the maximum number of items to return, include the maxsearchsize="Value" -->

<Export file="/tmp/UnicenterAutoSysJM_EEM_Export.txt" globalfolders="y" globalusergroups="y" globalusers="y" globalsettings="y" folders="y" usergroups="y" users="y" calendars="y" policies="y" appobjects="y"/>

<Detach/>
</Safex>

UNIX\LINUX ? WCC 11.1 Sample

<Safex>
<Attach label="WCC0002"/>

<!-- You can control the data to be exported by specifying the Yes(Y) or No(N). If you store the global users and global groups in CA's Management Database (CA-MDB) all the objects are exported.
You can override the maximum number of items that are returned by the backend server. The default is 2000. To change the maximum number of items to return, include the maxsearchsize="Value" -->

<Export file="/tmp/WCC0002_EEM_Export.txt" globalfolders="y" globalusergroups="y" globalusers="y" globalsettings="y" folders="y" usergroups="y" users="y" calendars="y" policies="y" appobjects="y"/>

<Detach/>
</Safex>

WINDOWS ? WorkloadAutomationAE 11.3 Sample

<Safex>
<Attach label="WorkloadAutomationAE"/>

<!-- You can control the data to be exported by specifying the Yes(Y) or No(N). If you store the global users and global groups in CA's Management Database (CA-MDB) all the objects are exported.
You can override the maximum number of items that are returned by the backend server. The default is 2000. To change the maximum number of items to return, include the maxsearchsize="Value" -->

<Export file="C:\TEMP\WorkloadAutomationAE_EEM_Export.txt" globalfolders="y" globalusergroups="y" globalusers="y" globalsettings="y" folders="y" usergroups="y" users="y" calendars="y" policies="y" appobjects="y"/>

<Detach/>
</Safex>

WINDOWS ? WCC 11.3 Sample

<Safex>
<Attach label="WCC0003"/>

<!-- You can control the data to be exported by specifying the Yes(Y) or No(N). If you store the global users and global groups in CA's Management Database (CA-MDB) all the objects are exported.
You can override the maximum number of items that are returned by the backend server. The default is 2000. To change the maximum number of items to return, include the maxsearchsize="Value" -->

<Export file=" C:\TEMP\WCC0003_EEM_Export.txt" globalfolders="y" globalusergroups="y" globalusers="y" globalsettings="y" folders="y" usergroups="y" users="y" calendars="y" policies="y" appobjects="y"/>

<Detach/>
</Safex>

WINDOWS ? AutoSys 11.0 Sample

<Safex>
<Attach label="UnicenterAutoSysJM"/>

<!-- You can control the data to be exported by specifying the Yes(Y) or No(N). If you store the global users and global groups in CA's Management Database (CA-MDB) all the objects are exported.
You can override the maximum number of items that are returned by the backend server. The default is 2000. To change the maximum number of items to return, include the maxsearchsize="Value" -->

<Export file=" C:\TEMP\UnicenterAutoSysJM_EEM_Export.txt" globalfolders="y" globalusergroups="y" globalusers="y" globalsettings="y" folders="y" usergroups="y" users="y" calendars="y" policies="y" appobjects="y"/>

<Detach/>
</Safex>

WINDOWS ? WCC 11.1 Sample

<Safex>
<Attach label="WCC0002"/>

<!-- You can control the data to be exported by specifying the Yes(Y) or No(N). If you store the global users and global groups in CA's Management Database (CA-MDB) all the objects are exported.
You can override the maximum number of items that are returned by the backend server. The default is 2000. To change the maximum number of items to return, include the maxsearchsize="Value" -->

<Export file=" C:\TEMP\WCC0002_EEM_Export.txt" globalfolders="y" globalusergroups="y" globalusers="y" globalsettings="y" folders="y" usergroups="y" users="y" calendars="y" policies="y" appobjects="y"/>

<Detach/>
</Safex>