How to export [EXPDP] just Package ???

  How to export[EXPDP] just Package:

===================================


Create PARFILE

==============

$ cat > new_tmp.par

USERID="/ as sysdba"

SCHEMAS=SPSE

INCLUDE=PACKAGE:"IN ('SPSE_ER_BOND_REPORT')"

COMPRESSION=ALL

CLUSTER=N

DUMPFILE=CFRAEXPORTS:tmp_new_expdp_10.dmp

NOLOGFILE=Y


Execute EXPDP using PARFILE

===========================

$ expdp parfile=/exports1/cfrabackup/new_tmp.par


Export: Release 11.2.0.4.0 - Production on Wed Sep 13 14:36:05 2017


Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.


Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production

With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,

Data Mining and Real Application Testing options

FLASHBACK automatically enabled to preserve database integrity.

Starting "SYS"."SYS_EXPORT_SCHEMA_02":  /******** AS SYSDBA parfile=/exports1/cfrabackup/new_tmp.par

Estimate in progress using BLOCKS method...

Total estimation using BLOCKS method: 0 KB

Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_SPEC

Processing object type SCHEMA_EXPORT/PACKAGE/GRANT/OWNER_GRANT/OBJECT_GRANT

Processing object type SCHEMA_EXPORT/PACKAGE/COMPILE_PACKAGE/PACKAGE_SPEC/ALTER_PACKAGE_SPEC

Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_BODY

Master table "SYS"."SYS_EXPORT_SCHEMA_02" successfully loaded/unloaded

******************************************************************************

Dump file set for SYS.SYS_EXPORT_SCHEMA_02 is:

  /exports1/cfrabackup/tmp_new_expdp_10.dmp

Job "SYS"."SYS_EXPORT_SCHEMA_02" successfully completed at Wed Oct


Comments

Popular posts from this blog

ORACLE FORMS AND REPORTS 12C INSTALLATION DOCUMENT LINUX

Microsoft Office 2019 Installation Instructions for Windows

installation of Oracle BI Publisher 10.1.3.4.1

Configure physical standby database Oracle Database 11G release 2 (11.2)