Skip Headers

Oracle® Database Recovery Manager Reference
10g Release 1 (10.1)

Part Number B10770-02
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Feedback

Go to previous page
Previous
Go to current chapter
Up
Go to next page
Next
View PDF

RELEASE CHANNEL

Syntax

release::=

Text description of release.gif follows


Text description of release



Purpose

To release a channel while maintaining the connection to the target database instance. Specify the channel name with the same identifier used in the ALLOCATE CHANNEL command. This command is optional because RMAN automatically releases all channels allocated when a RUN block terminates.

Restrictions and Usage Notes

Execute this command only within a RUN block. See "releaseForMaint" for the form of RELEASE CHANNEL used for maintenance channels.

Keywords and Parameters

Syntax Element Description

channel_id

The case-sensitive channel ID used in the ALLOCATE CHANNEL command.

Examples

Releasing a Channel: Example

in this example, RMAN allocates channels ch1 and ch2. It then makes three identical backup sets of datafiles 1 to 4 to tape, then releases it. RMAN then uses channel ch2 to make three identical backups of datafiles 5 to 7 to tape, and then releases it:

RUN {
     SET BACKUP COPIES = 3;
     ALLOCATE CHANNEL ch1 DEVICE TYPE sbt FORMAT 'bkup_%U';
     ALLOCATE CHANNEL ch2 DEVICE TYPE sbt MAXPIECESIZE = 5M;
     BACKUP CHANNEL ch1 DATAFILE 1,2,3,4;
     RELEASE CHANNEL ch1;
     BACKUP DATAFILE 5,6,7; 
}