The commands commonly used by Rman

Source: Internet
Author: User


Single command

Only executed at the Rman prompt

Be executed alone

Cannot be run as a child command

such as backup database

The following commands cannot be used as batch commands to use the

CONNECT

CONFIGURE

CREATE CATALOG, DROP CATALOG, UPGRADE CATALOG

CREATE script, DELETE script, REPLACE script

LIST

The

Batch Command

Used in parentheses around the Run command, the commonly used batch commands are allocate Channel,set newname for datafile,release Channel,switch,set, etc.

Be executed as a group

Such as:

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.