Linux Export database files and several Linux small commands

Source: Internet
Author: User
Tags sqlplus

Cd.. Return to the previous layer;

PWD view current directory;

Ssh-l Oracle oracle_id into the database

Ps-ef|grep Oracle View current Oracle Processes

Sqlplus/nolog into Sqlplus

Use $,sql under Linux! (seems to be so, to be verified later) exp

Exported SQL statement:!exp username/[email protected] file=filename.dmp full=y

The database file, which is placed in the database, needs to be copied out to the application file.

Copy statement in database directory: scp-p 8888/HOME/.../DAOCHU.DMO [Email protected]_id:/home/...remote_file

The beginning of the time always prompted the directory or file does not exist, and then suddenly thought I did not add the port number is this-p, if there must be added, otherwise it will always be reported.

This copy to the application layer, Windows can use WINSCP to download the data, Linux can be used under the command (it seems that I am not Linux, I would like to try)

Linux Export database files and several Linux small commands

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.