Oracle8i Backup and Recovery Guide Release 8.1.5 A67773-01 |
|
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; }