5.6.6.1 Export from Sandbox
Note:
This section is intended for DBA/UNIX Admin.- Provide read/write/execute permissions to Export_Sandbox_Data.sh
- Execute following Unix command
dos2unix Export_Sandbox_Data.sh
- Following grants are needed on Sandbox_Schema / Export_Schema ( using
sysdba
)
grant read, write on directory DATA_PUMP_DIR to export_schema_name;
grant export full database to export_schema_name;
- Execute the export utility using the following
command
./Export_Sandbox_Data.sh
- Provide Oracle schema details when prompted
- Model Group Name will also be captured as part of inputs.
Outputs
AIF_DATA.dmp
will be created as part of successful
execution.
Execution Logs
EXP_AIF_DATA.log
will be created as part of the execution
in case of any issues.
Note:
Oracle Drive Compatibility:
- This utility can be executed from the same BD folder if the oracle drivers for the BD client and sandbox database server are compatible.
- If not compatible, this utility can be copied to the database UNIX server of the sandbox schema under the folder DATA_PUMP_DIR.
- DATA_PUMP_DIR for any oracle database server can be found
out using the following query (using sysdba)
select * from dba_directories where directory_name = 'DATA_PUMP_DIR'