OBIEE 12.2.1.0 BAR Files
Below BAR File Export and Import commands with RPD Credentials and runtime info -- ie catalog user folders.
We tried various methods importing and exporting bar files. We found the below 2 commands to be the best . They have not caused us any problems to date.
We take the runtime info and the RPD Credentials aswell as systemJazn roles etc.
First create the folders on the exporting server ie source server you would like to export from.
Create the workDir and exportDir directories on /u01 or where ever you feel comfortable withmkdir
u01/exportDir
u01/workDir
Initiate WLST session in offline DEV
/u01/OBIEEHOME/oracle_common/common/bin/wlst.sh
Then issue the Export command
----- EXPORT COMMAND --------
exportServiceInstance('/u01/OBIEEHOME/user_projects/domains/OBISTG', 'ssi', '/u01/workDir', '/u01/exportDir', applicationName=None, applicationDesc=None, applicationVersion=None, includeCatalogRuntimeInfo=true,includeCredentials='Password123')
Then issue the Import command.
----- IMPORT COMMAND --------
importServiceInstance('/u01/Middlewarehomebi12/user_projects/domains/bi12','ssi','/tmp/ssi.bar',true,true,true,'Password123')
After the Import bounce all BI Services just to be sure everything falls into place.
There are various ways to achieve this please refer to the oracle manual for more info....