搜尋
首頁資料庫mysql教程rman备份archivelog出现ORA-19625

rman备份archivelog时出现以下错误: RMANgt; backup archivelog all delete input; Starting backup at 14-APR-14 current log

rman备份archivelog时出现以下错误:

RMAN> backup archivelog all delete input;

Starting backup at 14-APR-14

current log archived

using channel ORA_DISK_1

using channel ORA_DISK_2

RMAN-00571: ===========================================================

RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============

RMAN-00571: ===========================================================

RMAN-03002: failure of backup command at 04/14/2014 18:40:23

RMAN-06059: expected archived log not found, loss of archived log compromises recoverability
 
ORA-19625: error identifying file /home/Oracle/PROD/1_2_844469007.dbf

ORA-27037: unable to obtain file status

Linux Error: 2: No such file or directory

Additional information: 3

--------------------------------------分割线 --------------------------------------

推荐阅读:

RMAN 配置归档日志删除策略

Oracle基础教程之通过RMAN复制数据库

RMAN备份策略制定参考内容

RMAN备份学习笔记

Oracle数据库备份加密 RMAN加密

--------------------------------------分割线 --------------------------------------

网上查了出错原因是由于操作系统下删除了这个归档日志,这个日志还没备份过,rman去备份的时候,找不到这个归档就出错了。可使用change archivelog all crosscheck命令来解决此问题,如下:
 
RMAN> change archivelog all crosscheck;

released channel: ORA_DISK_1

released channel: ORA_DISK_2

allocated channel: ORA_DISK_1

channel ORA_DISK_1: SID=43 device type=DISK

allocated channel: ORA_DISK_2

channel ORA_DISK_2: SID=45 device type=DISK

validation succeeded for archived log

archived log file name=/home/oracle/PROD/1_16_827176743.dbf RECID=1 STAMP=844399662
 
validation succeeded for archived log

archived log file name=/home/oracle/PROD/1_17_827176743.dbf RECID=2 STAMP=844460245
 
validation succeeded for archived log

archived log file name=/home/oracle/PROD/1_18_827176743.dbf RECID=3 STAMP=844461320
 
validation succeeded for archived log

archived log file name=/home/oracle/PROD/1_19_827176743.dbf RECID=4 STAMP=844461426
 
validation succeeded for archived log

archived log file name=/home/oracle/PROD/1_20_827176743.dbf RECID=5 STAMP=844461580
 
validation succeeded for archived log

archived log file name=/home/oracle/PROD/1_21_827176743.dbf RECID=6 STAMP=844461592
 
validation succeeded for archived log

archived log file name=/home/oracle/PROD/1_22_827176743.dbf RECID=7 STAMP=844461696
 
validation succeeded for archived log

archived log file name=/home/oracle/PROD/1_23_827176743.dbf RECID=8 STAMP=844462037
 
validation succeeded for archived log

archived log file name=/home/oracle/PROD/1_24_827176743.dbf RECID=9 STAMP=844462165
 
validation succeeded for archived log

archived log file name=/home/oracle/PROD/1_25_827176743.dbf RECID=10 STAMP=844462279
 
validation succeeded for archived log

archived log file name=/home/oracle/PROD/1_26_827176743.dbf RECID=11 STAMP=844462409
 
validation succeeded for archived log

archived log file name=/home/oracle/PROD/1_27_827176743.dbf RECID=12 STAMP=844465108
 
validation succeeded for archived log

archived log file name=/home/oracle/PROD/1_28_827176743.dbf RECID=13 STAMP=844469010
 
validation succeeded for archived log

archived log file name=/home/oracle/PROD/1_1_844532679.dbf RECID=16 STAMP=844533450
 
validation succeeded for archived log

archived log file name=/home/oracle/PROD/1_2_844532679.dbf RECID=19 STAMP=844537684
 
validation succeeded for archived log

archived log file name=/home/oracle/PROD/1_2_844532679.dbf RECID=17 STAMP=844533553
 
validation succeeded for archived log

archived log file name=/home/oracle/PROD/1_3_844532679.dbf RECID=20 STAMP=844537685
 
validation succeeded for archived log

archived log file name=/home/oracle/PROD/1_4_844532679.dbf RECID=18 STAMP=844537684
 
validation succeeded for archived log

archived log file name=/home/oracle/PROD/1_1_844537684.dbf RECID=23 STAMP=844605032
 
validation succeeded for archived log

archived log file name=/home/oracle/PROD/1_1_844537684.dbf RECID=21 STAMP=844575254
 
validation succeeded for archived log

archived log file name=/home/oracle/PROD/1_2_844537684.dbf RECID=24 STAMP=844605033
 
validation succeeded for archived log

archived log file name=/home/oracle/PROD/1_2_844537684.dbf RECID=22 STAMP=844581004
 
validation succeeded for archived log

archived log file name=/home/oracle/PROD/1_3_844537684.dbf RECID=25 STAMP=844605034
 
validation succeeded for archived log

archived log file name=/home/oracle/PROD/1_1_844469007.dbf RECID=14 STAMP=844530587
 
validation succeeded for archived log

archived log file name=/home/oracle/PROD/1_1_844605031.dbf RECID=26 STAMP=844670045
 
validation succeeded for archived log

archived log file name=/home/oracle/PROD/1_2_844605031.dbf RECID=27 STAMP=844797748
 
validation succeeded for archived log

archived log file name=/home/oracle/PROD/1_3_844605031.dbf RECID=28 STAMP=844841532
 
validation succeeded for archived log

archived log file name=/home/oracle/PROD/1_4_844605031.dbf RECID=29 STAMP=844847317
 
validation succeeded for archived log

archived log file name=/home/oracle/PROD/1_5_844605031.dbf RECID=30 STAMP=844855807
 
validation succeeded for archived log

archived log file name=/home/oracle/PROD/1_6_844605031.dbf RECID=31 STAMP=844855838
 
validation succeeded for archived log

archived log file name=/home/oracle/PROD/1_7_844605031.dbf RECID=32 STAMP=844886422
 
validation succeeded for archived log

archived log file name=/home/oracle/PROD/1_8_844605031.dbf RECID=33 STAMP=844886590
 
validation succeeded for archived log

archived log file name=/home/oracle/PROD/1_9_844605031.dbf RECID=34 STAMP=844886622
 
Crosschecked 33 objects

 

validation failed for archived log

archived log file name=/home/oracle/PROD/1_2_844469007.dbf RECID=15 STAMP=844530793
 
Crosschecked 1 objects

--再次执行archivelog的rman备份就成功了,如下:

RMAN> backup archivelog all delete input;

 

Starting backup at 14-APR-14

current log archived

using channel ORA_DISK_1

using channel ORA_DISK_2

channel ORA_DISK_1: starting compressed archived log backup set

channel ORA_DISK_1: specifying archived log(s) in backup set

input archived log thread=1 sequence=16 RECID=1 STAMP=844399662

input archived log thread=1 sequence=17 RECID=2 STAMP=844460245

input archived log thread=1 sequence=18 RECID=3 STAMP=844461320

channel ORA_DISK_1: starting piece 1 at 14-APR-14

channel ORA_DISK_2: starting compressed archived log backup set

channel ORA_DISK_2: specifying archived log(s) in backup set

input archived log thread=1 sequence=1 RECID=16 STAMP=844533450

channel ORA_DISK_2: starting piece 1 at 14-APR-14

channel ORA_DISK_2: finished piece 1 at 14-APR-14

piece handle=/home/oracle/backup/PROD_20140414_1bp5ntq0_1_1.bak tag=TAG20140414T190432 comment=NONE
 
channel ORA_DISK_2: backup set complete, elapsed time: 00:00:02

channel ORA_DISK_2: deleting archived log(s)

archived log file name=/home/oracle/PROD/1_1_844532679.dbf RECID=16 STAMP=844533450
 
channel ORA_DISK_2: starting compressed archived log backup set

channel ORA_DISK_2: specifying archived log(s) in backup set

input archived log thread=1 sequence=19 RECID=4 STAMP=844461426

input archived log thread=1 sequence=20 RECID=5 STAMP=844461580

input archived log thread=1 sequence=21 RECID=6 STAMP=844461592

input archived log thread=1 sequence=22 RECID=7 STAMP=844461696

input archived log thread=1 sequence=23 RECID=8 STAMP=844462037

input archived log thread=1 sequence=24 RECID=9 STAMP=844462165

input archived log thread=1 sequence=25 RECID=10 STAMP=844462279

channel ORA_DISK_2: starting piece 1 at 14-APR-14

channel ORA_DISK_1: finished piece 1 at 14-APR-14

piece handle=/home/oracle/backup/PROD_20140414_1ap5ntq0_1_1.bak tag=TAG20140414T190432 comment=NONE
 
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03

channel ORA_DISK_1: deleting archived log(s)

陳述
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
在MySQL中使用視圖的局限性是什麼?在MySQL中使用視圖的局限性是什麼?May 14, 2025 am 12:10 AM

mysqlviewshavelimitations:1)他們不使用Supportallsqloperations,限制DatamanipulationThroughViewSwithJoinsOrsubqueries.2)他們canimpactperformance,尤其是withcomplexcomplexclexeriesorlargedatasets.3)

確保您的MySQL數據庫:添加用戶並授予特權確保您的MySQL數據庫:添加用戶並授予特權May 14, 2025 am 12:09 AM

porthusermanagementinmysqliscialforenhancingsEcurityAndsingsmenting效率databaseoperation.1)usecReateusertoAddusers,指定connectionsourcewith@'localhost'or@'%'。

哪些因素會影響我可以在MySQL中使用的觸發器數量?哪些因素會影響我可以在MySQL中使用的觸發器數量?May 14, 2025 am 12:08 AM

mysqldoes notimposeahardlimitontriggers,butacticalfactorsdeterminetheireffactective:1)serverConfiguration impactactStriggerGermanagement; 2)複雜的TriggerSincreaseSySystemsystem load; 3)largertablesslowtriggerperfermance; 4)highConconcConcrencerCancancancancanceTigrignecentign; 5); 5)

mysql:存儲斑點安全嗎?mysql:存儲斑點安全嗎?May 14, 2025 am 12:07 AM

Yes,it'ssafetostoreBLOBdatainMySQL,butconsiderthesefactors:1)StorageSpace:BLOBscanconsumesignificantspace,potentiallyincreasingcostsandslowingperformance.2)Performance:LargerrowsizesduetoBLOBsmayslowdownqueries.3)BackupandRecovery:Theseprocessescanbe

mySQL:通過PHP Web界面添加用戶mySQL:通過PHP Web界面添加用戶May 14, 2025 am 12:04 AM

通過PHP網頁界面添加MySQL用戶可以使用MySQLi擴展。步驟如下:1.連接MySQL數據庫,使用MySQLi擴展。 2.創建用戶,使用CREATEUSER語句,並使用PASSWORD()函數加密密碼。 3.防止SQL注入,使用mysqli_real_escape_string()函數處理用戶輸入。 4.為新用戶分配權限,使用GRANT語句。

mysql:blob和其他無-SQL存儲,有什麼區別?mysql:blob和其他無-SQL存儲,有什麼區別?May 13, 2025 am 12:14 AM

mysql'sblobissuitableForStoringBinaryDataWithInareLationalDatabase,而ilenosqloptionslikemongodb,redis和calablesolutionsolutionsolutionsoluntionsoluntionsolundortionsolunsonstructureddata.blobobobissimplobisslowdeperformberbutslowderformandperformancewithlararengedata;

mySQL添加用戶:語法,選項和安全性最佳實踐mySQL添加用戶:語法,選項和安全性最佳實踐May 13, 2025 am 12:12 AM

toaddauserinmysql,使用:createUser'username'@'host'Indessify'password'; there'showtodoitsecurely:1)choosethehostcarecarefullytocon trolaccess.2)setResourcelimitswithoptionslikemax_queries_per_hour.3)usestrong,iniquepasswords.4)Enforcessl/tlsconnectionswith

MySQL:如何避免字符串數據類型常見錯誤?MySQL:如何避免字符串數據類型常見錯誤?May 13, 2025 am 12:09 AM

toAvoidCommonMistakeswithStringDatatatPesInMysQl,CloseStringTypenuances,chosethirtightType,andManageEngencodingAndCollat​​ionsEttingSefectery.1)usecharforfixed lengengtrings,varchar forvariable-varchar forbariaible length,andtext/blobforlargerdataa.2 seterters seterters seterters

See all articles

熱AI工具

Undresser.AI Undress

Undresser.AI Undress

人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover

AI Clothes Remover

用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool

Undress AI Tool

免費脫衣圖片

Clothoff.io

Clothoff.io

AI脫衣器

Video Face Swap

Video Face Swap

使用我們完全免費的人工智慧換臉工具,輕鬆在任何影片中換臉!

熱門文章

熱工具

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

強大的PHP整合開發環境

記事本++7.3.1

記事本++7.3.1

好用且免費的程式碼編輯器

VSCode Windows 64位元 下載

VSCode Windows 64位元 下載

微軟推出的免費、功能強大的一款IDE編輯器

SublimeText3 Linux新版

SublimeText3 Linux新版

SublimeText3 Linux最新版

SublimeText3 英文版

SublimeText3 英文版

推薦:為Win版本,支援程式碼提示!