約7台のサーバーでこの問題が発生しました。バックアップを取り、バックアップを検証するRMANジョブがあります...
rMANの設定は次のとおりです。
RMAN> show all;
RMAN configuration parameters for database with db_unique_name A103775 are:
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 21 DAYS;
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE SBT_TAPE PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' PARMS 'ENV=(TDPO_OPTFILE=C:\RMAN\tdpo_A103775.opt)';
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'C:\Oracle\PRODUCT\11.2.0\DBHOME_1\DATABASE\SNCFA103775.ORA'; # default
これがバックアップジョブです。
connect target backupuser/backuppassword
connect catalog rman/rmanpassword@rcat
run
{
allocate channel tdpo type 'SBT_TAPE' parms 'ENV=(TDPO_OPTFILE=C:\RMAN\tdpo_ADATABASE.opt)';
backup database plus archivelog delete all input TAG 'Full Database Backup';
delete noprompt obsolete;
restore database validate;
release channel tdpo;
}
そして私はこのエラーメッセージを受け取ります!
RMAN-06207: WARNING: 2 objects could not be deleted for SBT_TAPE channel(s) due
RMAN-06208: to mismatched status. Use CROSSCHECK command to fix status
RMAN-06210: List of Mismatched objects
RMAN-06211: ==========================
RMAN-06212: Object Type Filename/Handle
RMAN-06213: --------------- ---------------------------------------------------
RMAN-06214: Backup Piece papcfat0_1_1
RMAN-06214: Backup Piece c-317588623-20140703-03
私はクロスチェックして古いものを削除しようとしました、期限切れの削除...そしてそれは助けにはなりませんでした!
使用する crosscheck copy
削除前:
RMAN>crosscheck copy
RMAN>delete noprompt obsolete;
それ自体のクロスチェック(コピーなし)は何もしません。あなたも行うことができます:
crosscheck backuppiece papcfat0_1_1