IBM Tivoli Storage Manager for Databases, Data Protection for Oracle, Version 7.1

Removing a backup example

A sample script for removing an old backup is provided.

About this task

To remove an old backup, issue this command from the RMAN prompt:

UNIX and Linux operating systems
run
{
   allocate channel for delete type 'sbt_tape' parms
            'ENV=(TDPO_OPTFILE=/home/oracle/tdpo.opt)';

   change backupset backupset number delete;

}
Windows operating systems
run
{
   allocate channel for delete type 'sbt_tape' parms
            'ENV=(TDPO_OPTFILE=C:\oracle\scripts\tdpo.opt)';

   change backupset backupset number delete;

}

Refer to the Oracle RMAN manual for more information about the change command and its options.



Feedback