How to backup Oracle control files

Source: Internet
Author: User
Tags backup

The principle of backing up a control file is to back up the control file after the physical structure of the database has changed.

1. Trace: Used to control file rebuilding (generated trace file in Udump)

sql> ALTER DATABASE backup Controlfile to trace;

Database altered.

The following is a backup of the control file:

CREATE controlfile Reuse DATABASE "LX01" Noresetlogs Archivelog

Maxlogfiles 16

Maxlogmembers 3

Maxdatafiles 100

Maxinstances 1

Maxloghistory 292

LOGFILE

GROUP 1 (

'/disk2/lx01/oradata/redo01a.log ',

'/disk1/lx01/oradata/redo01b.log '

) SIZE 10M,

GROUP 2 (

'/disk2/lx01/oradata/redo02a.log ',

'/disk1/lx01/oradata/redo02b.log '

) SIZE 10M,

GROUP 3 (

'/disk2/lx01/oradata/redo03a.log ',

'/disk1/lx01/oradata/redo03b.log '

) SIZE 10M,

GROUP 4 (

'/disk2/lx01/oradata/redo04a.log ',

'/disk1/lx01/oradata/redo04b.log '

) SIZE 10M,

GROUP 5 (

'/disk1/lx01/oradata/redo05b.log ',

'/disk2/lx01/oradata/redo05a.log '

) SIZE 10M

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.