Oracle8i Recovery Manager User's Guide and Reference
Release 2 (8.1.6)

A76990-01

Library

Product

Contents

Index

Prev Up Next

Recovery Manager Command Syntax, 31 of 50


release

Syntax


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; RMAN automatically releases all channels allocated when the run command terminates.

Requirements

Execute this command only within the braces of a run command.

Keywords and Parameters

channel_id 

specifies the channel id used in the allocate channel command. 

Examples

Releasing a Channel

This example makes three identical backup sets of datafile 1 to tape, then releases the tape channel. RMAN then makes three identical backups of datafile 2 to disk and then releases the disk channel:

run {
     set duplex=3;
     allocate channel ch1 type 'SBT_TAPE';
     allocate channel ch2 type disk;
     backup channel ch1 datafile 1;
     release channel ch1;
     backup datafile 2;
}

Related Topics

"allocate"


Prev Up Next
Oracle
Copyright © 1999 Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index