Tuesday, April 17, 2007

RMAN -- Disk channel and tape channel

Disk channel and tape channel – how to associate sbt_tape with rmt0h

If allocate channel for Tape , then synatx will be :

allocate channel t1 device type 'SBT_TAPE' parms="ENV=(NB_ORA_POLICY=ORACLE_napdci28-bac)";or allocate channel t1 type 'SBT_TAPE' parms="ENV=(NB_ORA_POLICY=ORACLE_napdci28-bac)";

If allocate channel for device, then syntax will be :

allocate channel c1 device type disk format '/uo1/orabackup/robprod/robprod_%U';

If allocate channel for maintenace then syntax will be :

allocate channel for maintenace device type sbt;

NOTE: The number of channels that are automatically allocated depends on the default level of parallelism defined.
Configure command:Configuring Channel Default settings :

This configures the default backup/restore device to tape or disk

configure default device type to SBT;
configure default device type to DISK;

Once we have configured a default device type,ORACLE will use the default channel unless we override the default using the backup device type parameter.

No comments: