web-dev-qa-db-fra.com

Erreur Rman Rman-06207, Rman-06208, Rman-06210, Rman-06211, Rman-06212, Rman-06213, Rman-06214

J'ai ce problème avec environ 7 serveurs, nous avons un travail RMAN qui se sauvegarde et valide la sauvegarde ...

voici les paramètres 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

voici le travail de sauvegarde:

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;
}

et je reçois ce message d'erreur!

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

J'ai essayé CrossCheck et supprimer Obsolete, Supprimer a expiré ... et cela n'a pas aidé!

1
Data-Base

Utiliser crosscheck copy Avant de supprimer:

RMAN>crosscheck copy
RMAN>delete noprompt obsolete;

Crosscheck sur c'est propre (sans copie) ne fait rien. Vous avez également pu faire:

crosscheck backuppiece papcfat0_1_1
3
Taheer Nawaz