Datapump

From dbawiki
Revision as of 19:28, 28 November 2011 by 127.0.0.1 (talk) (Created page with "==Use the flashback parameter to export and import a consitent dump== expdp <user>/<pwd> parfile=db_params.par where db_params.par would look like this: flashback_time=sysdat...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Use the flashback parameter to export and import a consitent dump

expdp <user>/<pwd> parfile=db_params.par

where db_params.par would look like this:

flashback_time=sysdate
directory=DATAPUMP_DIR
dumpfile=db_schema.dmp
schemas=(apps,test)

This performs a consistent dump of 2 schemas

Keeping the parameters in a file like this allows the possibility to reuse it for the import:

impdp <user>/<pwd> parfile=db_params.par