SlideShare uma empresa Scribd logo
1 de 5
Baixar para ler offline
Oracle Exports and Imports windows 7

Below is Export and Import step for example schema ( HR, OE , PM , IX , SH , BI )

Exports dump file from SERVER A for schema ( HR, OE , PM , IX , SH , BI )

1.

Creat directory c:Temphrdump
Creat directory c:Tempxedump
Creat directory c:Temppmdump
Creat directory c:Tempixdump
Creat directory c:Tempshdump
Creat directory c:Tempbidump

2.Login in via sqlplus , connect system/passwd
sqlplus> create directory hrdump as 'C:Temphrdump';
sqlplus> create directory xedump as 'C:Tempxedump';
sqlplus> create directory pmdump as 'C:Temppmdump';
sqlplus> create directory ixdump as 'C:Tempixdump';
sqlplus> create directory shdump as 'C:Tempshdump';
sqlplus> create directory bidump as 'C:Tempbidump';

sqlplus> commit;
3.

start --> run --> cmd (full path to be mentioned ) oracleproduct11.2.0dbhome_1BIN>
[One by one ]

(for HR )expdp system/passwd schemas=HR directory=hrdump dumpfile=hrdump.dmp
logfile=rexp.log
(for OE )expdp system/passwd schemas=OE directory=oedump dumpfile=oedump.dmp
logfile=rexp.log
(for PM )expdp system/passwd schemas=PM directory=pmdump dumpfile=pmdump.dmp
logfile=rexp.log
(for IX )expdp system/passwd schemas=IX directory=ixdump dumpfile=ixdump.dmp
logfile=rexp.log
(for SH )expdp system/passwd schemas=SH directory=shdump dumpfile=shdump.dmp
logfile=rexp.log
(for BI )expdp system/passwd schemas=BI directory=bidump dumpfile=bidump.dmp
logfile=rexp.log

4. Check c:/Temp/ you will find the dumps files..,

Export done.

Import dump file to SERVER B for schema ( HR, OE , PM , IX , SH , BI )

1. login in to sqlplus .. system/passwd

sql>create tablespace EXAMPLE datafile (full path to be mentioned
)'/oradata/orcl/EXAMPLE01.DBF'
size 10M autoextend on maxsize 250M extent management local uniform size 64K;
(Info: EXAMPLE tablespace is newly created ) to check the existing or after create tablespace ,
you can check
running select tablespace_name from dba_tablespaces;
select name from v$datafile;)

2. Create the user

CREATE USER HR IDENTIFIED BY hr DEFAULT TABLESPACE EXAMPLE TEMPORARY TABLESPACE
TEMP;
GRANT CONNECT , RESOURCE TO HR;

CREATE USER OE IDENTIFIED BY oe DEFAULT TABLESPACE EXAMPLE TEMPORARY TABLESPACE
TEMP;
GRANT CONNECT , RESOURCE TO OE;

CREATE USER PM IDENTIFIED BY pm DEFAULT TABLESPACE EXAMPLE TEMPORARY TABLESPACE
TEMP;
GRANT CONNECT , RESOURCE TO PM;

CREATE USER SH IDENTIFIED BY sh DEFAULT TABLESPACE EXAMPLE TEMPORARY TABLESPACE
TEMP;
GRANT CONNECT , RESOURCE TO sh;

CREATE USER BI IDENTIFIED BY bi DEFAULT TABLESPACE EXAMPLE TEMPORARY TABLESPACE
TEMP;
GRANT CONNECT , RESOURCE TO bi;
3. create Temp HR ,OE ,, PM , IX and SH dumps in window files first in SERVER B
Create directory c:Temphrdump
Create directory c:Tempxedump
Create directory c:Temppmdump
Create directory c:Tempixdump
Create directory c:Tempshdump
Create directory c:Tempbidump

Copy the dumps files which you exported in SERVER A TO SERVER B

4. login to sqlplus
conect system/passwd

create directory hrdump as 'C:Temphrdump';
commit;
create directory oedump as 'C:Tempoedump';
commit;
create directory pmdump as 'C:Temppmdump';
commit;
create directory ixdump as 'C:Tempixdump';
commit;
create directory shdump as 'C:Tempshdump';
commit;
create directory bidump as 'C:Tempbidump';
commit;

5. start --> run --> cmd (full path to be mentioned ) oracleproduct11.2.0dbhome_1BIN>
[Run One by one ]
>impdp system/welcome schemas=HR directory=hrdump dumpfile=HRDUMP.DMP logfile=hrimp.log
>impdp system/welcome schemas=OE directory=oedump dumpfile=OEDUMP.DMP logfile=oeimp.log
>impdp system/welcome schemas=PM directory=pmdump dumpfile=PMDUMP.DMP logfile=pmimp.log
>impdp system/welcome schemas=IX directory=ixdump dumpfile=IXDUMP.DMP logfile=iximp.log
>impdp system/welcome schemas=SH directory=shdump dumpfile=SHDUMP.DMP logfile=shimp.log
>impdp system/welcome schemas=BI directory=bidump dumpfile=BIDUMP.DMP logfile=biimp.log

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

Bash Script Disk Space Utilization Report and EMail
Bash Script Disk Space Utilization Report and EMailBash Script Disk Space Utilization Report and EMail
Bash Script Disk Space Utilization Report and EMail
 
Commit2015 kharchenko - python generators - ext
Commit2015   kharchenko - python generators - extCommit2015   kharchenko - python generators - ext
Commit2015 kharchenko - python generators - ext
 
CouchDB Day NYC 2017: Full Text Search
CouchDB Day NYC 2017: Full Text SearchCouchDB Day NYC 2017: Full Text Search
CouchDB Day NYC 2017: Full Text Search
 
File Space Usage Information and EMail Report - Shell Script
File Space Usage Information and EMail Report - Shell ScriptFile Space Usage Information and EMail Report - Shell Script
File Space Usage Information and EMail Report - Shell Script
 
Cloud Foundry Command Line
Cloud Foundry Command LineCloud Foundry Command Line
Cloud Foundry Command Line
 
File Upload
File UploadFile Upload
File Upload
 
Intro to Cascading
Intro to CascadingIntro to Cascading
Intro to Cascading
 
groovy & grails - lecture 2
groovy & grails - lecture 2groovy & grails - lecture 2
groovy & grails - lecture 2
 
Hive commands
Hive commandsHive commands
Hive commands
 
2015 555 kharchenko_ppt
2015 555 kharchenko_ppt2015 555 kharchenko_ppt
2015 555 kharchenko_ppt
 
Read, store and create xml and json
Read, store and create xml and jsonRead, store and create xml and json
Read, store and create xml and json
 
From Overnight to Always On @ Jfokus 2019
From Overnight to Always On @ Jfokus 2019From Overnight to Always On @ Jfokus 2019
From Overnight to Always On @ Jfokus 2019
 
Shell Script to Extract IP Address, MAC Address Information
Shell Script to Extract IP Address, MAC Address InformationShell Script to Extract IP Address, MAC Address Information
Shell Script to Extract IP Address, MAC Address Information
 
Hive data migration (export/import)
Hive data migration (export/import)Hive data migration (export/import)
Hive data migration (export/import)
 
Rhel6
Rhel6Rhel6
Rhel6
 
Avro introduction
Avro introductionAvro introduction
Avro introduction
 
Workshop on command line tools - day 1
Workshop on command line tools - day 1Workshop on command line tools - day 1
Workshop on command line tools - day 1
 
Sql cheat sheet
Sql cheat sheetSql cheat sheet
Sql cheat sheet
 
Workshop on command line tools - day 2
Workshop on command line tools - day 2Workshop on command line tools - day 2
Workshop on command line tools - day 2
 
Redis as a message queue
Redis as a message queueRedis as a message queue
Redis as a message queue
 

Destaque (6)

Perfil gbi
Perfil gbiPerfil gbi
Perfil gbi
 
Youtube Policy Primer
Youtube Policy PrimerYoutube Policy Primer
Youtube Policy Primer
 
Erasmus+ esittely1 pak
Erasmus+ esittely1 pakErasmus+ esittely1 pak
Erasmus+ esittely1 pak
 
2015 03 30_theme_week_unicefthemeday_nuclearpowerplant_firstofmay_grades2-5_pak
2015 03 30_theme_week_unicefthemeday_nuclearpowerplant_firstofmay_grades2-5_pak2015 03 30_theme_week_unicefthemeday_nuclearpowerplant_firstofmay_grades2-5_pak
2015 03 30_theme_week_unicefthemeday_nuclearpowerplant_firstofmay_grades2-5_pak
 
Professions
ProfessionsProfessions
Professions
 
Veso esitys 180415 mok
Veso esitys 180415 mokVeso esitys 180415 mok
Veso esitys 180415 mok
 

Semelhante a Oracle exports and imports windows 7

How to create a non managed standby database
How to create a non managed  standby databaseHow to create a non managed  standby database
How to create a non managed standby database
Jorge Batista
 
DA Lab Manual Data Analysis Data AnalysisData AnalysisData AnalysisData Analysis
DA Lab Manual Data Analysis Data AnalysisData AnalysisData AnalysisData AnalysisDA Lab Manual Data Analysis Data AnalysisData AnalysisData AnalysisData Analysis
DA Lab Manual Data Analysis Data AnalysisData AnalysisData AnalysisData Analysis
Abishek86232
 
Web development automatisation for fun and profit (Artem Daniliants)
Web development automatisation for fun and profit (Artem Daniliants)Web development automatisation for fun and profit (Artem Daniliants)
Web development automatisation for fun and profit (Artem Daniliants)
LumoSpark
 
Install apache on centos
Install apache on centosInstall apache on centos
Install apache on centos
hengko
 
2011 384 hackworth_ppt
2011 384 hackworth_ppt2011 384 hackworth_ppt
2011 384 hackworth_ppt
maclean liu
 

Semelhante a Oracle exports and imports windows 7 (20)

Tablespaces
TablespacesTablespaces
Tablespaces
 
Dc kyiv2010 jun_08
Dc kyiv2010 jun_08Dc kyiv2010 jun_08
Dc kyiv2010 jun_08
 
Drupal Deployment Troubles and Problems
Drupal Deployment Troubles and ProblemsDrupal Deployment Troubles and Problems
Drupal Deployment Troubles and Problems
 
Symfony console: build awesome command line scripts with ease
Symfony console: build awesome command line scripts with easeSymfony console: build awesome command line scripts with ease
Symfony console: build awesome command line scripts with ease
 
How to create a non managed standby database
How to create a non managed  standby databaseHow to create a non managed  standby database
How to create a non managed standby database
 
Introduction to WP-CLI: Manage WordPress from the command line
Introduction to WP-CLI: Manage WordPress from the command lineIntroduction to WP-CLI: Manage WordPress from the command line
Introduction to WP-CLI: Manage WordPress from the command line
 
WordCamp Vancouver 2012 - Manage WordPress with Awesome using wp-cli
WordCamp Vancouver 2012 - Manage WordPress with Awesome using wp-cliWordCamp Vancouver 2012 - Manage WordPress with Awesome using wp-cli
WordCamp Vancouver 2012 - Manage WordPress with Awesome using wp-cli
 
Digital Strategy Works - Moving Wordpress
Digital Strategy Works - Moving WordpressDigital Strategy Works - Moving Wordpress
Digital Strategy Works - Moving Wordpress
 
Manage WordPress with Awesome using wp cli
Manage WordPress with Awesome using wp cliManage WordPress with Awesome using wp cli
Manage WordPress with Awesome using wp cli
 
PuppetConf 2016: The Challenges with Container Configuration – David Lutterko...
PuppetConf 2016: The Challenges with Container Configuration – David Lutterko...PuppetConf 2016: The Challenges with Container Configuration – David Lutterko...
PuppetConf 2016: The Challenges with Container Configuration – David Lutterko...
 
Challenges of container configuration
Challenges of container configurationChallenges of container configuration
Challenges of container configuration
 
Create an auto-extractible shell script linux
Create an auto-extractible shell script linuxCreate an auto-extractible shell script linux
Create an auto-extractible shell script linux
 
Command line for the beginner - Using the command line in developing for the...
Command line for the beginner -  Using the command line in developing for the...Command line for the beginner -  Using the command line in developing for the...
Command line for the beginner - Using the command line in developing for the...
 
WP migrations
WP migrationsWP migrations
WP migrations
 
DA Lab Manual Data Analysis Data AnalysisData AnalysisData AnalysisData Analysis
DA Lab Manual Data Analysis Data AnalysisData AnalysisData AnalysisData AnalysisDA Lab Manual Data Analysis Data AnalysisData AnalysisData AnalysisData Analysis
DA Lab Manual Data Analysis Data AnalysisData AnalysisData AnalysisData Analysis
 
Web development automatisation for fun and profit (Artem Daniliants)
Web development automatisation for fun and profit (Artem Daniliants)Web development automatisation for fun and profit (Artem Daniliants)
Web development automatisation for fun and profit (Artem Daniliants)
 
Install apache on centos
Install apache on centosInstall apache on centos
Install apache on centos
 
Document Management: Opendocman and LAMP installation on Cent OS
Document Management: Opendocman and LAMP installation on Cent OSDocument Management: Opendocman and LAMP installation on Cent OS
Document Management: Opendocman and LAMP installation on Cent OS
 
2011 384 hackworth_ppt
2011 384 hackworth_ppt2011 384 hackworth_ppt
2011 384 hackworth_ppt
 
Building robust and friendly command line applications in go
Building robust and friendly command line applications in goBuilding robust and friendly command line applications in go
Building robust and friendly command line applications in go
 

Último

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Último (20)

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 

Oracle exports and imports windows 7

  • 1. Oracle Exports and Imports windows 7 Below is Export and Import step for example schema ( HR, OE , PM , IX , SH , BI ) Exports dump file from SERVER A for schema ( HR, OE , PM , IX , SH , BI ) 1. Creat directory c:Temphrdump Creat directory c:Tempxedump Creat directory c:Temppmdump Creat directory c:Tempixdump Creat directory c:Tempshdump Creat directory c:Tempbidump 2.Login in via sqlplus , connect system/passwd sqlplus> create directory hrdump as 'C:Temphrdump'; sqlplus> create directory xedump as 'C:Tempxedump'; sqlplus> create directory pmdump as 'C:Temppmdump'; sqlplus> create directory ixdump as 'C:Tempixdump'; sqlplus> create directory shdump as 'C:Tempshdump'; sqlplus> create directory bidump as 'C:Tempbidump'; sqlplus> commit;
  • 2. 3. start --> run --> cmd (full path to be mentioned ) oracleproduct11.2.0dbhome_1BIN> [One by one ] (for HR )expdp system/passwd schemas=HR directory=hrdump dumpfile=hrdump.dmp logfile=rexp.log (for OE )expdp system/passwd schemas=OE directory=oedump dumpfile=oedump.dmp logfile=rexp.log (for PM )expdp system/passwd schemas=PM directory=pmdump dumpfile=pmdump.dmp logfile=rexp.log (for IX )expdp system/passwd schemas=IX directory=ixdump dumpfile=ixdump.dmp logfile=rexp.log (for SH )expdp system/passwd schemas=SH directory=shdump dumpfile=shdump.dmp logfile=rexp.log (for BI )expdp system/passwd schemas=BI directory=bidump dumpfile=bidump.dmp logfile=rexp.log 4. Check c:/Temp/ you will find the dumps files.., Export done. Import dump file to SERVER B for schema ( HR, OE , PM , IX , SH , BI ) 1. login in to sqlplus .. system/passwd sql>create tablespace EXAMPLE datafile (full path to be mentioned )'/oradata/orcl/EXAMPLE01.DBF' size 10M autoextend on maxsize 250M extent management local uniform size 64K;
  • 3. (Info: EXAMPLE tablespace is newly created ) to check the existing or after create tablespace , you can check running select tablespace_name from dba_tablespaces; select name from v$datafile;) 2. Create the user CREATE USER HR IDENTIFIED BY hr DEFAULT TABLESPACE EXAMPLE TEMPORARY TABLESPACE TEMP; GRANT CONNECT , RESOURCE TO HR; CREATE USER OE IDENTIFIED BY oe DEFAULT TABLESPACE EXAMPLE TEMPORARY TABLESPACE TEMP; GRANT CONNECT , RESOURCE TO OE; CREATE USER PM IDENTIFIED BY pm DEFAULT TABLESPACE EXAMPLE TEMPORARY TABLESPACE TEMP; GRANT CONNECT , RESOURCE TO PM; CREATE USER SH IDENTIFIED BY sh DEFAULT TABLESPACE EXAMPLE TEMPORARY TABLESPACE TEMP; GRANT CONNECT , RESOURCE TO sh; CREATE USER BI IDENTIFIED BY bi DEFAULT TABLESPACE EXAMPLE TEMPORARY TABLESPACE TEMP; GRANT CONNECT , RESOURCE TO bi;
  • 4. 3. create Temp HR ,OE ,, PM , IX and SH dumps in window files first in SERVER B Create directory c:Temphrdump Create directory c:Tempxedump Create directory c:Temppmdump Create directory c:Tempixdump Create directory c:Tempshdump Create directory c:Tempbidump Copy the dumps files which you exported in SERVER A TO SERVER B 4. login to sqlplus conect system/passwd create directory hrdump as 'C:Temphrdump'; commit; create directory oedump as 'C:Tempoedump'; commit; create directory pmdump as 'C:Temppmdump'; commit; create directory ixdump as 'C:Tempixdump'; commit; create directory shdump as 'C:Tempshdump';
  • 5. commit; create directory bidump as 'C:Tempbidump'; commit; 5. start --> run --> cmd (full path to be mentioned ) oracleproduct11.2.0dbhome_1BIN> [Run One by one ] >impdp system/welcome schemas=HR directory=hrdump dumpfile=HRDUMP.DMP logfile=hrimp.log >impdp system/welcome schemas=OE directory=oedump dumpfile=OEDUMP.DMP logfile=oeimp.log >impdp system/welcome schemas=PM directory=pmdump dumpfile=PMDUMP.DMP logfile=pmimp.log >impdp system/welcome schemas=IX directory=ixdump dumpfile=IXDUMP.DMP logfile=iximp.log >impdp system/welcome schemas=SH directory=shdump dumpfile=SHDUMP.DMP logfile=shimp.log >impdp system/welcome schemas=BI directory=bidump dumpfile=BIDUMP.DMP logfile=biimp.log