RMAN - If i issue a command 'change backupset 797426 delete;' i get an error as the backup set is not there

RMAN - If i issue a command 'change backupset 797426 delete;' i get an error as the backup set is not there;


RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of crosscheck command at 04/30/2006 22:11:48
RMAN-06160: no backup pieces found for backup set key: 797426

Recovery Manager complete.
=====================================================
 Tidy Backup Part 2 Failed !!
=====================================================

How can i deregister or remove this from the rman catalog;

thanks
H
LVL 1
hraja77Asked:
Who is Participating?
 
csachdevaConnect With a Mentor Commented:
Use CHANGE... KEEP or CHANGE... NOKEEP to specify whether a backup should be subject to the configured retention policy or kept until a different date or even indefinitely.

The KEEP option exempts a backup from the current retention policy either indefinitely or until the specified UNTIL time. RMAN does not mark the files as obsolete even if they would be considered obsolete under the retention policy. Such backups are called long-term backups. CHANGE ... NOKEEP is used to undo the effects of CHANGE ... KEEP, so that the configured retention policy applies to the backup.

For example, the following command blocks RMAN from considering backupsets with the tag 'year_end_2002' as obsolete under the retention policy:

RMAN> CHANGE BACKUPSET TAG year_end_2002 KEEP;

To allow backupsets with the tag year_end_2002 to be marked as obsolete based on the retention policy, use this command:

RMAN> CHANGE BACKUPSET TAG year_end_2002 NOKEEP;

If you want to prevent the use of a backup marked with KEEP in restore and recovery operations, then mark these backups as UNAVAILABLE. RMAN will not delete the records for these backups from the RMAN repository, but will not try to use them in restore and recovery until they are marked AVAILABLE again.

Hope this will answer your query.

Regards,
Chetan Sachdeva
0
 
schwertnerCommented:
How to delete backup set from the catalog
RMAN>list backup     – look for backup set (see BS key)
RMAN>list incarnation;
RMAN>delete backup set 235;
0
 
hraja77Author Commented:
Sorry schwertner - it still gives me the same error - i need to delete from tsm database and rman catalog but the backupset is not physically there ??

cheers
h
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.