Oracle 10 Gb Database Import and Export with sys user

Source: Internet
Author: User

Error:

[Oracle@www.bkjia.com data] $ exp "sys/oracle@www.bkjia.com as sysdba" file =/data/sys. dmp log =/data/sys. log full = y;
LRM-00108: invalid positional parameter value 'as'

EXP-00019: failed to process parameters, type 'exp HELP = y' for help
EXP-00000: Export terminated unsuccessfully

Cause:
This may be a BUG of Oracle10g. You only need to follow the following two methods:


Solution:

Method 1:
[Oracle@www.bkjia.com data] $ exp\ "Sys/oracle as sysdba \"File =/data/sys. dmp log =/data/sys. log full = y;

Export: Release 10.2.0.1.0-Production on Wed May 2 19:20:12 2012

Copyright (c) 1982,200 5, Oracle. All rights reserved.


Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0-Production
With the Partitioning, OLAP and Data Mining options
Export done in US7ASCII character set and AL16UTF16 NCHAR character set
Server uses WE8ISO8859P1 character set (possible charset conversion)

About to export the entire database...
. Exporting tablespace definitions
. Exporting profiles
. Exporting user definitions
. Exporting roles
. Exporting resource costs

Method 2:
Oracle@www.bkjia.com ~ $ Exp\ 'Sys/oracle as sysdba \'File =/data/sys1.dmp log =/data/sys1.log full = y;

Export: Release 10.2.0.1.0-Production on Wed May 2 19:26:08 2012

Copyright (c) 1982,200 5, Oracle. All rights reserved.


Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0-Production
With the Partitioning, OLAP and Data Mining options
Export done in US7ASCII character set and AL16UTF16 NCHAR character set
Server uses WE8ISO8859P1 character set (possible charset conversion)

About to export the entire database...
. Exporting tablespace definitions ^ [
. Exporting profiles
. Exporting user definitions

For more information about Oracle, see Oracle topics page http://www.bkjia.com/topicnews.aspx? Tid = 12

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.