Skip Headers

Oracle9i Recovery Manager Reference
Release 2 (9.2)

Part Number A96565-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to beginning of chapter Go to next page

RMAN Commands , 41 of 59


RELEASE CHANNEL

Syntax

Text description of release.gif follows
Text description of the illustration release.gif


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 the RUN command terminates.

Requirements

Execute this command only within a RUN command.

Keywords and Parameters

Syntax Element Description

channel_id

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

Examples

Releasing a Channel: Example

This example makes three identical backup sets of datafiles 1 through 4 to tape with channel ch1, then releases it. RMAN then makes three identical backups of datafiles 5 through 7 to tape with channel ch2 and then releases it:

RUN {
     SET BACKUP COPIES = 3;
     ALLOCATE CHANNEL ch1 DEVICE TYPE sbt RATE = 1000;
     ALLOCATE CHANNEL ch2 DEVICE TYPE sbt MAXPIECESIZE = 5M;
     BACKUP CHANNEL ch1 DATAFILE 1,2,3,4;
     RELEASE CHANNEL ch1;
     BACKUP DATAFILE 5,6,7;
}

Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996, 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback