Oracle Database Full-scale backup recovery and partial backup recovery

Source: Internet
Author: User


Today, we encountered Oracle database sequence problems, simply to a full library of backup and recovery. As follows

Imp/exp Way

Table mode Backup: Oracle@sencloudserver:exp dhoffice/dhoffice rows=y indexes=n compress=n buffer=65536. DMP Log=exp_tianle_090101.log Tables=david.tianle;

User-mode backup:
oracle@sencloudserver:exp dhoffice/dhoffice owner=david rows=y indexes=n compress=n buffer=655 File=dhoffice__090101.dmp Log=exp_david_090101.log;

Full Mode backup:
oracle@sencloudserver:exp dhoffice/dhoffice rows=y indexes=n compress=n buffer=65536 full=y fi Le=dhoffice_fulldatabase_090101.dmp Log=exp_fulldatabase_090101.log;

Table mode recovery:
oracle@sencloudserver:imp dhoffice/dhoffice fromuser=david touser=david rows=y indexes=n commit=y buffer=65536 file=exp_tianle_090101.dmp Log=imp_tianle_090101.log;

User-mode recovery:
oracle@sencloudserver:imp dhoffice/dhoffice fromuser=david touser=david rows=y indexes=n Commi T=y buffer=65536 file=exp_tianle_090101.dmp Log=exp_tianle_090101.log;

Full-Library mode recovery:

Oracle@sencloudserver:imp dhoffice/dhoffice rows=y indexes=n commit=y full=y ignore=y buffer=65536 file=/tmp/exp_ Fulldatabase_090101.dmp Log=/tmp/imp.log;



Rman method

There is no time to write this part of the script, wait until the back of time to complete. Write it down first.

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.