Oracle Database full backup recovery and partial Backup Recovery

Source: Internet
Author: User

Today, we have encountered the Oracle database sequence problem. We simply need to back up and restore the entire database. As follows:

Imp/exp Method

Table mode backup:

Oracle @ sencloudserver: EXP dhoffice/dhoffice rows = y indexes = n compress = n buffer = 65536 file = dhoffice_090101.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 = 65536 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 file = 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 commit = y buffer = 65536 file = exp_tianle_090101.dmp log = exp_tianle_090101.log;

Full database 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 there is time to complete it. Write down it first.

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.