How to Export/Import in Windows-Oracle10g-EnterprisesManager [message #229825] |
Tue, 10 April 2007 02:30 |
sbmk_design
Messages: 88 Registered: April 2007 Location: CHENNAI
|
Member |
|
|
Hi
How to Export/Import full database in Windows operating system / Oracle 10g through Enterprises manager.(I know how to do this using command prompt,but I wanted to do this by using Enterprises manager of 10g)
1)Which oracle user has privilege to logon in Enterprises manager for export/import purpose.(I loged on as sys as sysdba,but it show error)
2)After loging on to the Enterprises manager's Maintaince menu (as sysdba)it asks Host credential here whether i should give OS administrator name & password or Oracle user name & password.
by
balamuralikrishnan.s
|
|
|
|
|
|
|
|
|
Re: How to Export/Import in Windows-Oracle10g-EnterprisesManager [message #233092 is a reply to message #233086] |
Tue, 24 April 2007 11:08 |
|
Mahesh Rajendran
Messages: 10708 Registered: March 2002 Location: oracleDocoVille
|
Senior Member Account Moderator |
|
|
expdp or exp
Just use the PARFILE
oracle@xxxx:~> expdp parfile=par.par
Export: Release 10.2.0.2.0 - 64bit Production on Tuesday, 24 April, 2007 12:10:20
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
With the Partitioning and Data Mining options
Starting "SYS"."SYS_EXPORT_SCHEMA_01": parfile=par.par
Estimate in progress using BLOCKS method...
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 6 MB
Processing object type SCHEMA_EXPORT/USER
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/TYPE/TYPE_SPEC
Processing object type SCHEMA_EXPORT/DB_LINK
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type SCHEMA_EXPORT/FUNCTION/FUNCTION
Processing object type SCHEMA_EXPORT/FUNCTION/ALTER_FUNCTION
Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
. . exported "DBADMIN"."ADULTAGE" 5.570 KB 2 rows
. . exported "DBADMIN"."CF":"PART_1" 5.546 KB 2 rows
. . exported "DBADMIN"."CF":"PART_3" 5.531 KB 1 rows
. . exported "DBADMIN"."DEPT" 5.609 KB 4 rows
. . exported "DBADMIN"."EMP" 7.726 KB 14 rows
. . exported "DBADMIN"."T1" 4.929 KB 1 rows
. . exported "DBADMIN"."CF":"PART_2" 0 KB 0 rows
. . exported "DBADMIN"."DATE_TABLE" 0 KB 0 rows
. . exported "DBADMIN"."PLAN_TABLE" 0 KB 0 rows
. . exported "DBADMIN"."TEST" 0 KB 0 rows
Master table "SYS"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
******************************************************************************
Dump file set for SYS.SYS_EXPORT_SCHEMA_01 is:
/u01/home/rdbms/log/expdat.dmp
Job "SYS"."SYS_EXPORT_SCHEMA_01" successfully completed at
12:11:12
oracle@xxxx:~> cat par.par
userid="sys/sys as sysdba" schemas=dbadmin
or
Properly escape your quotes according to your OS
oracle@xxxx:~> expdp 'userid="/ as sysdba"' schemas=dbadmin
Export: Release 10.2.0.2.0 - 64bit Production on Tuesday, 24 April, 2007 12:13:30
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
With the Partitioning and Data Mining options
Starting "SYS"."SYS_EXPORT_SCHEMA_01": userid="/******** AS SYSDBA" schemas=dbadmin
Estimate in progress using BLOCKS method...
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 6 MB
Processing object type SCHEMA_EXPORT/USER
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/TYPE/TYPE_SPEC
Processing object type SCHEMA_EXPORT/DB_LINK
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type SCHEMA_EXPORT/FUNCTION/FUNCTION
Processing object type SCHEMA_EXPORT/FUNCTION/ALTER_FUNCTION
Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
. . exported "DBADMIN"."ADULTAGE" 5.570 KB 2 rows
. . exported "DBADMIN"."CF":"PART_1" 5.546 KB 2 rows
. . exported "DBADMIN"."CF":"PART_3" 5.531 KB 1 rows
. . exported "DBADMIN"."DEPT" 5.609 KB 4 rows
. . exported "DBADMIN"."EMP" 7.726 KB 14 rows
. . exported "DBADMIN"."T1" 4.929 KB 1 rows
. . exported "DBADMIN"."CF":"PART_2" 0 KB 0 rows
. . exported "DBADMIN"."DATE_TABLE" 0 KB 0 rows
. . exported "DBADMIN"."PLAN_TABLE" 0 KB 0 rows
. . exported "DBADMIN"."TEST" 0 KB 0 rows
Master table "SYS"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
******************************************************************************
Dump file set for SYS.SYS_EXPORT_SCHEMA_01 is:
/u01/home/rdbms/log/expdat.dmp
Job "SYS"."SYS_EXPORT_SCHEMA_01" successfully completed at 12:13:50
[Updated on: Tue, 24 April 2007 11:11] Report message to a moderator
|
|
|
|
Re: How to Export/Import in Windows-Oracle10g-EnterprisesManager [message #233101 is a reply to message #233098] |
Tue, 24 April 2007 12:59 |
|
Mahesh Rajendran
Messages: 10708 Registered: March 2002 Location: oracleDocoVille
|
Senior Member Account Moderator |
|
|
The question asked was
Quote: | We cannot do datapump export or import in we are logged in as sysdba..
|
And i cannot contend your response as i have no OEM in vicinity and i have not used one in years.
UPDATE:
Not supported in 10g OEM. Was able to reproduce this
Quote: | Role Error
Export and Import are not supported on 10g databases for users logged in with the SYSDBA role. Logout and login using a different role before trying again.
|
[Updated on: Tue, 24 April 2007 21:29] Report message to a moderator
|
|
|
|
|
|
|
|
|