How to use Import Datapump to import Tables

(Doc ID 2409090.1)

Last updated on JUNE 08, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 10.1.0.2 to 18.1.0.0 [Release 10.1 to 18.1]
Information in this document applies to any platform.

Goal

we are trying to import only tables to a test database.

 impdp \"/ as sysdba\" directory=GCIDNR full=y EXCLUDE=PACKAGE,FUNCTION,SEQUENCE file=$arch remap_sche
ma=l2tcp:dnrtool log=impgci`(date +"%d%m%Y%H%M")`.log

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

Connected to: Oracle Database 11g Release 11.2.0.4.0 - 64bit Production
Legacy Mode Active due to the following parameters:
Legacy Mode Parameter: "file=GCIEXPDNR010620181625.dmp" Location: Command Line, Replaced with: "dumpfile=GCIEXPDNR010620181625.dmp"
Legacy Mode Parameter: "log=impgci010620181653.log" Location: Command Line, Replaced with: "logfile=impgci010620181653.log"
ORA-39002: invalid operation
ORA-39168: Object path SEQUENCE was not found.
ORA-39168: Object path FUNCTION was not found.
ORA-39168: Object path PACKAGE was not found.


Please advise,
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms