Name
ALLOCATE CHANNEL FOR MAINTENANCE
Synopsis
Conducts maintenance on channels, and when doing so is used in conjunction with the CHANGE or CROSSCHECK commands.
Oracle9i syntax
ALLOCATE CHANNEL FOR MAINTENANCE DEVICE TYPE [=] deviceSpecifier [allocOperand [allocOperand ...]];
Oracle8i syntax
ALLOCATE CHANNEL FOR { MAINTENANCE | DELETE } { TYPE [=]deviceSpecifier
| NAME [=]'channel_name
' } [allocOperand [allocOperand
...]];
Example
In this example, a channel is allocated to delete a backup piece:
RMAN>allocate channel for maintenance type disk;
RMAN>change backuppiece '/d99/backups/1ccn3ed4_1_1'
2>delete;
RMAN>release channel;
Get Oracle RMAN Pocket Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.