Common RMAN commands

Source: Internet
Author: User

Single command

Run the command only at the RMAN prompt.

Executed separately

Cannot be used as a run sub-command

Such as backup database

The following commands cannot be used as Batch Commands

Connect

Configure

Create catalog, drop catalog, upgrade catalog

Create script, delete script, replace script

List

Report

Batch command

The Run Command is enclosed in parentheses. the commonly used Batch Commands include allocate channel, set newname for datafile, release channel, switch, and set.

Executed as a group

For example:

RMAN> run {

2> Backup incremental level 0

3> Format '/u01/APP/Oracle/bak/% d _ % S _ % P'

4> fileperset 5 (database include current controlfile );

5> SQL 'alter databaes archive log current ';}

Mixed standalone and job 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.