crosscheck backup ORA-19554
朋友在rman中執行crosscheck backup出現ORA-19554錯誤
RMAN> crosscheck backup; using channel ORA_DISK_1 released channel: ORA_DISK_1 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of crosscheck command at 01/23/2015 17:23:19 ORA-19554: error allocating device, device type: STB, device name: ORA-27001: unsupported device type Additional information: 1
提示找不到STB,根本就沒有這種裝置,下面執行命令來顯示所有配置資訊
RMAN> show all; RMAN configuration parameters are: CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default CONFIGURE BACKUP OPTIMIZATION OFF; # default CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default CONFIGURE CONTROLFILE AUTOBACKUP OFF; CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE STB TO '%F'; # default CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # default CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO BACKUPSET PARALLELISM 1; CONFIGURE DEVICE TYPE 'STB' BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 1; CONFIGURE DEVICE TYPE 'SBT_TAPE' BACKUP TYPE TO BACKUPSET PARALLELISM 1; CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE STB TO 1; # default CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE STB TO 1; # default CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/u02/test_df%t_s%s_s%p'; CONFIGURE MAXSETSIZE TO UNLIMITED; # default CONFIGURE ENCRYPTION FOR DATABASE OFF; # default CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/10.2.0/db/dbs/snapcf_test.f'; # default
上述資訊中有
CONFIGURE DEVICE TYPE 'SBT_TAPE' BACKUP TYPE TO BACKUPSET PARALLELISM 1;
說明確實有人設定了SBT_TAPE型別的裝置資訊,下面將其設定還原為預設值:
RMAN> configure device type 'SBT_TAPE' clear; old RMAN configuration parameters: CONFIGURE DEVICE TYPE 'SBT_TAPE' BACKUP TYPE TO BACKUPSET PARALLELISM 1; RMAN configuration parameters are successfully reset to default value RMAN> show all; RMAN configuration parameters are: CONFIGURE RETENTION POLICY TO REDUNDANCY 1; CONFIGURE BACKUP OPTIMIZATION OFF; CONFIGURE DEFAULT DEVICE TYPE TO DISK; CONFIGURE CONTROLFILE AUTOBACKUP OFF; CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE 'STB' TO '%F'; CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE 'SBT_TAPE' TO '%F'; CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO BACKUPSET PARALLELISM 1; CONFIGURE DEVICE TYPE 'STB' BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 1; CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE 'STB' TO 1; CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE 'SBT_TAPE' TO 1; CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE 'STB' TO 1; CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE 'SBT_TAPE' TO 1; CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/u02/test_df%t_s%s_s%p'; CONFIGURE MAXSETSIZE TO UNLIMITED; CONFIGURE ENCRYPTION FOR DATABASE OFF; CONFIGURE ENCRYPTION ALGORITHM 'AES128'; CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/10.2.0/db/dbs/snapcf_test.f';
再來執行crosscheck backup命令正常執行:
RMAN> crosscheck backup; allocated channel: ORA_DISK_1 channel ORA_DISK_1: sid=145 devtype=DISKcrosschecked backup piece: found to be 'AVAILABLE' backup piece handle=/u02/test_df869734336_s15_s1 recid=5 stamp=869734336 crosschecked backup piece: found to be 'AVAILABLE' backup piece handle=/u02/test_df869734461_s16_s1 recid=6 stamp=869734463 Crosschecked 2 objects
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26015009/viewspace-1417625/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- crosscheck archivelog all;crosscheck backup of區別ROSHive
- rman crosscheck作用ROS
- CROSSCHECK命令使用ROS
- 正確使用rman crosscheckROS
- [zt] crosscheck archivelog allROSHive
- rman report list crosscheck deleteROSdelete
- RMAN CROSSCHECK命令小bug(轉)ROS
- 轉:正確使用rman crosscheckROS
- rman 的crosscheck命令問題!ROS
- Oracle RMAN的show,list,crosscheck,deleteOracleROSdelete
- Rman Crosscheck刪除失效歸檔ROS
- RMAN的crosscheck和obsolete的用法ROS
- 轉載-RMAN下CROSSCHECK命令詳解ROS
- 使用RMAN CROSSCHECK 更新檔案狀態ROS
- Oracle RMAN 的 show,list,crosscheck,delete命令整理OracleROSdelete
- crosscheck archivelog all error ORA-19587ROSHiveError
- full backup 與 level 0 incremental backupREM
- RMAN Crosscheck 和 Delete 命令的 2 個例項ROSdelete
- RMAN Crosscheck 和 Delete 命令的2個例項ROSdelete
- Veritas Backup
- Rman Crosscheck刪除失效歸檔-備份恢復ROS
- Oracle OCP IZ0-053 Q682(Rman Crosscheck)OracleROS
- 都是crosscheck惹的禍,備份歸檔失敗ROS
- SQLBackupAndFTP12.0 failed to backup database with full backup typeSQLFTPAIDatabase
- backup site collection
- Oracle Secure BackupOracle
- Cold backup script
- 理解備份集backup set與備份片backup piece
- [20160202]crosscheck archivelog all.txtROSHive
- oracle full database backupOracleDatabase
- SQL Server Backup & RestoreSQLServerREST
- TFS Express backup and restoreExpressREST
- backup and restore tipsREST
- oracle cold backup scriptsOracle
- rman backup script(引用)
- Rman backup standby databaseDatabase
- Cold Database backup scriptDatabase
- Oracle Backup and Recovery FAQOracle