Oracle database backup and recovery

Source: Internet
Author: User

Oracle databases have three standard backup methods: Export/Import EXP/IMP), hot backup, and cold backup. Exporting spare parts is a logical backup, while cold backup and hot backup are physical backup.

1. Export/Import)

The Export can be used to extract data from the database, and the Import can be used to send the extracted data back to the Oracle database.

1. Simple Export of data Export) and Import of data)

Oracle supports three types of output:

(1) Table mode T), which exports the data of the specified table.
2) User Mode U) to export all objects and data of the specified user.
(3) Full database mode). All objects in the databases database are exported.

Data Import) is the inverse process of data Export. The data files are imported into the database and the database data is exported to the data file respectively.

2. incremental Export/Import

Incremental export is a common data backup method. It can only be implemented for the entire database and must be exported as a SYSTEM. During this export, the system does not require any answers. The default export file name is export. dmp. If you do not want your output file to be named export. dmp, you must specify the file name to use in the command line.

Incremental export includes three types:

1). "full" incremental export Complete)
Three databases are backed up, for example:
Exp system/manager inctype = complete file = 040731.dmp
2) incremental Export
Back up the data changed after the last backup, for example:
Exp system/manager inctype = incremental file = 040731.dmp
3) "accumulative" incremental Export
The accumulative export mode is used to export the changed information in the database after the last "full" export. For example:
Exp system/manager inctype = cumulative file = 040731.dmp
The database administrator can schedule a backup schedule and export data in three different ways.
For example, you can make the following arrangements for database blocking tasks:

Monday: Full backup)
Tuesday: Incremental Export B)
Wednesday: Incremental export C)
Thursday: Incremental export D)
Friday: accumulative export E)
Saturday: Incremental export F)
Sunday: Incremental export G)


 


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.