| Oracle8i Recovery Manager User's Guide and Reference Release 2 (8.1.6) Part Number A76990-01  | 
  | 
Recovery Manager Command Syntax, 31 of 50
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.
Execute this command only within the braces of a run command.
| 
 channel_id  | 
 specifies the channel id used in the allocate channel command.  | 
|
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; }
| 
 | 
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved.  | 
 
  |