RMAN-20260 error while trying to delete a backup piece
Hello,
In my company we use Oracle 10g, backup managed by RMAN and integrated with TSM.
In order to remove the old backup files, there is a delete script to do this.
Basically this script:
connect to RMAN catalog
allocate channel for maintenance device type 'sbt_tape'
change backuppiece <file names from rc_backup_piece older than 35 days> delete;
When this command is run, this error is being generated:
RMAN-03002: failure of delete command at 01/18/2010 17:14:00
RMAN-06004: ORACLE error from recovery catalog database: RMAN-20260: backup piece not found in the recovery catalog
RMAN-06092: error while looking up backup piece
Any ideas?
Thanks in advance.
Fer