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
have you tried uploading a file using command line
ReplyDeleteworking fine.. thank you so much
ReplyDeletein OAS we need to do it online mode only.. since catalog is no more in physical location. this commands works just great.
ReplyDeletewhat is archive command? command not found when i run it
ReplyDelete