Home | Downloads | Contact Us
HyperBac for Oracle

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

RMAN Commands , 42 of 59


releaseForMaint

Syntax

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


Purpose

To release a sequential I/O device specified in an ALLOCATE CHANNEL FOR MAINTENANCE command. Note that maintenance channels are unaffected by ALLOCATE CHANNEL and RELEASE CHANNEL command issued within a RUN command.

Requirements

Examples

Releasing a Maintenance Channel After a Delete Operation: Example

This example allocates and then releases a maintenance channel to the media manager:

ALLOCATE CHANNEL FOR MAINTENANCE DEVICE TYPE sbt;
DELETE NOPROMPT BACKUPPIECE 100;
RUN 
{
  ALLOCATE CHANNEL ch1 DEVICE TYPE DISK;
  BACKUP DATAFILE 1;
  RELEASE CHANNEL ch1; # releases RUN channel but not maintenance channel
}
RELEASE CHANNEL; # releases maintenance channel

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

All Rights Reserved.