Oracle Datapump
Inhaltsverzeichnis
1 Inkompatible Versionsnummer 5.1 in Dump-Datei
expdp pat@JUNGPFL/PAT dumpfile=test1.dmp logfile=test1.log directory=backup version=11.2
2 impdp
impdp pat@PLUGPLANT/PAT include=table:"IN('B_PRODPLAN')" directory=AVAIL_EXP1 dumpfile=SCHERR13-10-15.dmp logfile=impdpPAT_prodplan;
INCLUDE=PROCEDURE:"LIKE'CUST_%'"
impdp pat/PAT tablespaces=jungpfl directory=backup dumpfile=sven.dmp logfile=impdpPAT
impdp pat/PAT directory=backup dumpfile=sven2.dmp logfile=impdpPAT
impdp pat/PAT directory=backup dumpfile=test.dmp logfile=your_import_log.txt sqlfile=your_ddl_test.txt
* skriver bara inforamtion om innehåll i your_ddl_test.txt
3 expdp
select * from DATABASE_EXPORT_OBJECTS; -->??????
expdp pat@JUNGPFL/PAT schemas=PAT directory=backup dumpfile=2014-06-10.dmp logfile=expdpPAT.log expdp pat/PAT@BOECK hat z.B. bei Böck Großmarkt nicht funktioniert, pat/PAT@JUNGPFL auch woretnicht?
3.1 filter exclude include
3.1.1 INCLUDE
INCLUDE=TABLE:"= 'B_PRODPLAN' "
3.1.2 EXCLUDE
fungerar bara med parametrfil (Kientzler 2018-04-11)
PS C:\Users\adminsql\downloads> expdp pat@JUNGPFL/PAT parfile=par.txt
directory=pp logfile=exdpPAT.log dumpfile=KI_2018-04-11_10-50-13.dmp exclude=table:"IN('B_LOG','E_LOG','E_LOG_PK', 'XIE1B_LOG', 'XPKB_LOG', 'B_AVAIL_RESULT_OUTPUT')" schemas=PAT
inte direkt in Kommandotolken
exclude=TABLE:"IN (\'B_LOG\', \'E_LOG\', \'E_LOG_PK\', \'B_AVAIL_RESULT_OUTPUT\') " directory=pp dumpfile=2014-06-10.dmp logfile=exdpPAT.log