INSTALLATION DOCUMENTS BY RAVI

Sunday, April 9, 2017

Archiving web catalog through command prompt obiee 12c


1. Open the command prompt and navigate to the below path

On Windows :

cd %ORACLE_HOME%\user_projects\domains\bi\bitools\bin

On Linux :

cd $ORACLE_HOME/user_projects/domains/bi/bitools/bin


2. Create a file called boot.txt. this directory for ./runcat.sh or runcat.cmd

The format used with in the file is simply:
login=weblogic
pwd=password


3. The following formats were successful (this was used to create an archive 'online'):

4. Full Archive:

On Windows:
./runcat.sh -cmd archive -online https://hostname:portno/analytics/saw.dll -credentials boot.txt -forceOutputFile \path\to\fullcatalog.archive

On Linux:
runcat.cmd -cmd archive -online https://hostname:portno/analytics/saw.dll -credentials boot.txt -forceOutputFile /path/to/fullcatalog.archive

5. Partial archive (refined statement above to include /shared subfolder in archive only:

On Windows:
./runcat.sh -cmd archive -folder /shared -online https://hostname:portno/analytics/saw.dll -credentials boot.txt -forceOutputFile \path\to\partialcatalog.archive

On Linux:
runcat.cmd -cmd archive -folder /shared -online https://hostname:portno/analytics/saw.dll -credentials boot.txt -forceOutputFile /path/to/partialcatalog.archive


Unarchiving:
The following command worked for unarchiving online (restored /shared folder under the catalog root location (/)):

On Windows:
./runcat.sh -cmd unarchive -inputFile \path\to\partialcatalog.archive -folder / -overwrite all -online https://hostname:portno/analytics/saw.dll -credentials boot.txt

On Linux:
./runcat.sh -cmd unarchive -inputFile /path/to/partialcatalog.archive -folder / -overwrite all -online https://hostname:portno/analytics/saw.dll -credentials boot.txt

4 comments:

  1. have you tried uploading a file using command line

    ReplyDelete
  2. working fine.. thank you so much

    ReplyDelete
  3. in OAS we need to do it online mode only.. since catalog is no more in physical location. this commands works just great.

    ReplyDelete
  4. what is archive command? command not found when i run it

    ReplyDelete

  Opatch reports 'Cyclic Dependency Detected' error when patching ODI   Issue: When applying a Patch Set Update (PSU) to WebLogic Se...