Home » RDBMS Server » Server Administration » Help Please! Full commandline sequence using sys as sysdba for export
Help Please! Full commandline sequence using sys as sysdba for export [message #59745] Fri, 19 December 2003 09:14 Go to next message
sheela
Messages: 66
Registered: March 2002
Member
I'm having trouble using 'sys as sysdba' as a commandline parameter in 'exp' in Oracle 9i. I tried following the syntax, but it doesn't work. For e.g, I want to do the following in commandline mode. Could you please give me the entire commandline (tested and working) for the following:

$exp

Export: Release 9.2.0.4.0 - Production on Fri Dec 19 11:13:46 2003

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

Username: sys as sysdba
Password:

Connected to: Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.4.0 - Production
Enter array fetch buffer size: 4096 > 128000

Export file: expdat.dmp > thisexport.dmp

(1)E(ntire database), (2)U(sers), or (3)T(ables): (2)U > 1

Export grants (yes/no): yes > yes

Export table data (yes/no): yes > yes

Compress extents (yes/no): yes > yes

Export done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character set
server uses WE8MSWIN1252 character set (possible charset conversion)

About to export the entire database ...
. exporting tablespace definitions
. exporting profiles
. exporting user definitions
. exporting roles
. exporting resource costs
. exporting rollback segment definitions
. exporting database links
. exporting sequence numbers
. exporting directory aliases
. exporting context namespaces
. exporting foreign function library names
. exporting PUBLIC type synonyms
:
:

Thanks much
Re: Help Please! Full commandline sequence using sys as sysdba for export [message #59746 is a reply to message #59745] Fri, 19 December 2003 09:25 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10707
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
bash-2.03$ exp "'sys/sys as sysdba'" owner=dbadmin file=myfile.dmp

Export: Release 9.2.0.1.0 - Production on Fri Dec 19 14:28:11 2003

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.

Connected to: Oracle9i Enterprise Edition Release 9.2.0.1.0 - 64bit Production
With the Partitioning and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
Export done in US7ASCII character set and AL16UTF16 NCHAR character set
server uses WE8ISO8859P1 character set (possible charset conversion)

About to export specified users ...
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user DBADMIN
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions for user DBADMIN
About to export DBADMIN's objects ...
. exporting database links
. exporting sequence numbers
. exporting cluster definitions
. about to export DBADMIN's tables via Conventional Path ...
. . exporting table                              A          0 rows exported
. . exporting table                              B          0 rows exported
. . exporting table                          BONUS          0 rows exported
. . exporting table                           DEPT          4 rows exported
. . exporting table                            EMP          4 rows exported
. . exporting table                       SALGRADE          5 rows exported
. exporting synonyms
. exporting views
. exporting stored procedures
. exporting operators
. exporting referential integrity constraints
. exporting triggers
. exporting indextypes
. exporting bitmap, functional and extensible indexes
. exporting posttables actions
. exporting materialized views
. exporting snapshot logs
. exporting job queues
. exporting refresh groups and children
. exporting dimensions
. exporting post-schema procedural objects and actions
. exporting statistics
Export terminated successfully without warnings.

Re: Help Please! Full commandline sequence using sys as sysdba for export [message #59749 is a reply to message #59746] Fri, 19 December 2003 11:34 Go to previous message
Tony
Messages: 190
Registered: June 2001
Senior Member
Thank you. It worked. Its because of the quotes.
Previous Topic: ERROR 476: Instance Shutdown
Next Topic: CKPT Information please
Goto Forum:
  


Current Time: Fri Sep 20 08:14:44 CDT 2024