Rman 0级别备份和恢复


点击(此处)折叠或打开

  1. 1.删除备份
  2. RMAN> delete backup;

  3. using target database control file instead of recovery catalog
  4. allocated channel: ORA_DISK_1
  5. channel ORA_DISK_1: sid=131 devtype=DISK

  6. List of Backup Pieces
  7. BP Key BS Key Pc# Cp# Status Device Type Piece Name
  8. ------- ------- --- --- ----------- ----------- ----------
  9. 3 3 1 1 AVAILABLE DISK /backup/YWS_4.dbf
  10. 4 4 1 1 AVAILABLE DISK /backup/YWS_0.dbf

  11. Do you really want to delete the above objects (enter YES or NO)? yes
  12. deleted backup piece
  13. backup piece handle=/backup/YWS_4.dbf recid=3 stamp=832767718
  14. deleted backup piece
  15. backup piece handle=/backup/YWS_0.dbf recid=4 stamp=832767926
  16. Deleted 2 objects

  17. 2.0级别全备
  18. RMAN> backup incremental level 0 database format \'/backup/%s_%f.dbf\';

  19. Starting backup at 29-NOV-13
  20. using channel ORA_DISK_1
  21. channel ORA_DISK_1: starting incremental level 0 datafile backupset
  22. channel ORA_DISK_1: specifying datafile(s) in backupset
  23. input datafile fno=00001 name=/u01/oracle/oradata/yws/system01.dbf
  24. input datafile fno=00003 name=/u01/oracle/oradata/yws/sysaux01.dbf
  25. input datafile fno=00005 name=/u01/oracle/oradata/yws/example01.dbf
  26. input datafile fno=00002 name=/u01/oracle/oradata/yws/undotbs01.dbf
  27. input datafile fno=00004 name=/u01/oracle/oradata/yws/users01.dbf
  28. channel ORA_DISK_1: starting piece 1 at 29-NOV-13
  29. channel ORA_DISK_1: finished piece 1 at 29-NOV-13
  30. piece handle=/backup/5_4.dbf tag=TAG20131129T122643 comment=NONE
  31. channel ORA_DISK_1: backup set complete, elapsed time: 00:00:48
  32. channel ORA_DISK_1: starting incremental level 0 datafile backupset
  33. channel ORA_DISK_1: specifying datafile(s) in backupset
  34. including current control file in backupset
  35. including current SPFILE in backupset
  36. channel ORA_DISK_1: starting piece 1 at 29-NOV-13
  37. channel ORA_DISK_1: finished piece 1 at 29-NOV-13
  38. piece handle=/backup/6_0.dbf tag=TAG20131129T122643 comment=NONE
  39. channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
  40. Finished backup at 29-NOV-13

  41. 3.查看备份
  42. RMAN> LIST BACKUP OF CONTROLFILE;


  43. List of Backup Sets
  44. ===================

  45. BS Key Type LV Size Device Type Elapsed Time Completion Time
  46. ------- ---- -- ---------- ----------- ------------ ---------------
  47. 6 Incr 0 6.80M DISK 00:00:03 29-NOV-13
  48.         BP Key: 6 Status: AVAILABLE Compressed: NO Tag: TAG20131129T122643
  49.         Piece Name: /backup/6_0.dbf
  50.   Control File Included: Ckp SCN: 482504 Ckp time: 29-NOV-13

  51. RMAN> LIST BACKUP OF SPFILE;


  52. List of Backup Sets
  53. ===================

  54. BS Key Type LV Size Device Type Elapsed Time Completion Time
  55. ------- ---- -- ---------- ----------- ------------ ---------------
  56. 6 Incr 0 6.80M DISK 00:00:03 29-NOV-13
  57.         BP Key: 6 Status: AVAILABLE Compressed: NO Tag: TAG20131129T122643
  58.         Piece Name: /backup/6_0.dbf
  59.   SPFILE Included: Modification time: 29-NOV-13
  60.   
  61.   
  62.   RMAN> list backup;


  63. List of Backup Sets
  64. ===================

  65. BS Key Type LV Size Device Type Elapsed Time Completion Time
  66. ------- ---- -- ---------- ----------- ------------ ---------------
  67. 5 Incr 0 577.39M DISK 00:00:41 29-NOV-13
  68.         BP Key: 5 Status: AVAILABLE Compressed: NO Tag: TAG20131129T122643
  69.         Piece Name: /backup/5_4.dbf
  70.   List of Datafiles in backup set 5
  71.   File LV Type Ckp SCN Ckp Time Name
  72.   ---- -- ---- ---------- --------- ----
  73.   1 0 Incr 482473 29-NOV-13 /u01/oracle/oradata/yws/system01.dbf
  74.   2 0 Incr 482473 29-NOV-13 /u01/oracle/oradata/yws/undotbs01.dbf
  75.   3 0 Incr 482473 29-NOV-13 /u01/oracle/oradata/yws/sysaux01.dbf
  76.   4 0 Incr 482473 29-NOV-13 /u01/oracle/oradata/yws/users01.dbf
  77.   5 0 Incr 482473 29-NOV-13 /u01/oracle/oradata/yws/example01.dbf

  78. BS Key Type LV Size Device Type Elapsed Time Completion Time
  79. ------- ---- -- ---------- ----------- ------------ ---------------
  80. 6 Incr 0 6.80M DISK 00:00:03 29-NOV-13
  81.         BP Key: 6 Status: AVAILABLE Compressed: NO Tag: TAG20131129T122643
  82.         Piece Name: /backup/6_0.dbf
  83.   Control File Included: Ckp SCN: 482504 Ckp time: 29-NOV-13
  84.   SPFILE Included: Modification time: 29-NOV-13
  85.   
  86.   
  87. 4.删除文件
  88. [oracle@yws oracle]$ cd oradata/
  89. [oracle@yws oradata]$ ls
  90. yws
  91. [oracle@yws oradata]$ cd yws/
  92. [oracle@yws yws]$ ls
  93. control01.ctl control02.ctl control03.ctl example01.dbf redo01.log redo02.log redo03.log sysaux01.dbf system01.dbf temp01.dbf undotbs01.dbf users01.dbf
  94. [oracle@yws yws]$ rm -rf *
  95. [oracle@yws yws]$ ls
  96. [oracle@yws yws]$ ls
  97. [oracle@yws yws]$ pwd
  98. /u01/oracle/oradata/yws

  99. 5.删除归档
  100. RMAN> delete archivelog all;

  101. released channel: ORA_DISK_1
  102. allocated channel: ORA_DISK_1
  103. channel ORA_DISK_1: sid=131 devtype=DISK

  104. List of Archived Log Copies
  105. Key Thrd Seq S Low Time Name
  106. ------- ---- ------- - --------- ----
  107. 1 1 2 A 29-NOV-13 /arc/1_2_832764548.dbf
  108. 2 1 3 A 29-NOV-13 /arc/1_3_832764548.dbf
  109. 3 1 4 A 29-NOV-13 /arc/1_4_832764548.dbf
  110. 4 1 5 A 29-NOV-13 /arc/1_5_832764548.dbf
  111. 5 1 6 A 29-NOV-13 /arc/1_6_832764548.dbf
  112. 6 1 7 A 29-NOV-13 /arc/1_7_832764548.dbf

  113. Do you really want to delete the above objects (enter YES or NO)? yes
  114. deleted archive log
  115. archive log filename=/arc/1_2_832764548.dbf recid=1 stamp=832768513
  116. deleted archive log
  117. archive log filename=/arc/1_3_832764548.dbf recid=2 stamp=832768513
  118. deleted archive log
  119. archive log filename=/arc/1_4_832764548.dbf recid=3 stamp=832768518
  120. deleted archive log
  121. archive log filename=/arc/1_5_832764548.dbf recid=4 stamp=832768569
  122. deleted archive log
  123. archive log filename=/arc/1_6_832764548.dbf recid=5 stamp=832768575
  124. deleted archive log
  125. archive log filename=/arc/1_7_832764548.dbf recid=6 stamp=832768583
  126. Deleted 6 objects

  127. 6.启动数据库
  128. [oracle@yws arc]$ sqlplus / as sysdba

  129. SQL*Plus: Release 10.2.0.1.0 - Production on Fri Nov 29 12:46:59 2013

  130. Copyright (c) 1982, 2005, Oracle. All rights reserved.

  131. Connected to an idle instance.

  132. SQL> startup
  133. ORACLE instance started.

  134. Total System Global Area 285212672 bytes
  135. Fixed Size 1218992 bytes
  136. Variable Size 79693392 bytes
  137. Database Buffers 201326592 bytes
  138. Redo Buffers 2973696 bytes
  139. ORA-00205: error in identifying control file, check alert log for more info --报找不到控制文件

  140. 7.恢复控制文件
  141. RMAN> restore controlfile from \'/backup/6_0.dbf\';

  142. Starting restore at 29-NOV-13
  143. using target database control file instead of recovery catalog
  144. allocated channel: ORA_DISK_1
  145. channel ORA_DISK_1: sid=155 devtype=DISK

  146. channel ORA_DISK_1: restoring control file
  147. channel ORA_DISK_1: restore complete, elapsed time: 00:00:05
  148. output filename=/u01/oracle/oradata/yws/control01.ctl
  149. output filename=/u01/oracle/oradata/yws/control02.ctl
  150. output filename=/u01/oracle/oradata/yws/control03.ctl
  151. Finished restore at 29-NOV-13

  152. 8.数据库起到mount
  153. SQL> alter database mount;

  154. Database altered.

  155. 9.查看相关信息

  156. SQL> select checkpoint_change#,fuzzy from v$datafile_header;

  157. CHECKPOINT_CHANGE# FUZ
  158. ------------------ ---
  159.             482473 NO
  160.             482473 NO
  161.             482473 NO
  162.             482473 NO
  163.             482473 NO
  164.             
  165.             
  166. SQL> select CHECKPOINT_CHANGE#,OPEN_RESETLOGS,ARCHIVE_CHANGE# from v$database;

  167. CHECKPOINT_CHANGE# OPEN_RESETL ARCHIVE_CHANGE#
  168. ------------------ ----------- ---------------
  169.             479088 REQUIRED 0
  170.             
  171.             


  172. SQL> /

  173.     GROUP# THREAD# SEQUENCE# BYTES MEMBERS ARC STATUS FIRST_CHANGE# FIRST_TIM
  174. ---------- ---------- ---------- ---------- ---------- --- ---------------- ------------- ---------
  175.          1 1 2 52428800 1 NO CURRENT 474499 29-NOV-13
  176.          3 1 1 52428800 1 YES INACTIVE 446075 29-NOV-13
  177.          2 1 0 52428800 1 YES UNUSED 0
  178.          
  179. 10.恢复库
  180. RMAN> restore database;

  181. Starting restore at 29-NOV-13
  182. released channel: ORA_DISK_1
  183. Starting implicit crosscheck backup at 29-NOV-13
  184. allocated channel: ORA_DISK_1
  185. channel ORA_DISK_1: sid=155 devtype=DISK
  186. Crosschecked 1 objects
  187. Finished implicit crosscheck backup at 29-NOV-13

  188. Starting implicit crosscheck copy at 29-NOV-13
  189. using channel ORA_DISK_1
  190. Finished implicit crosscheck copy at 29-NOV-13

  191. searching for all files in the recovery area
  192. cataloging files...
  193. no files cataloged

  194. using channel ORA_DISK_1

  195. channel ORA_DISK_1: starting datafile backupset restore
  196. channel ORA_DISK_1: specifying datafile(s) to restore from backup set
  197. restoring datafile 00001 to /u01/oracle/oradata/yws/system01.dbf
  198. restoring datafile 00002 to /u01/oracle/oradata/yws/undotbs01.dbf
  199. restoring datafile 00003 to /u01/oracle/oradata/yws/sysaux01.dbf
  200. restoring datafile 00004 to /u01/oracle/oradata/yws/users01.dbf
  201. restoring datafile 00005 to /u01/oracle/oradata/yws/example01.dbf
  202. channel ORA_DISK_1: reading from backup piece /backup/5_4.dbf
  203. channel ORA_DISK_1: restored backup piece 1
  204. piece handle=/backup/5_4.dbf tag=TAG20131129T122643
  205. channel ORA_DISK_1: restore complete, elapsed time: 00:00:57
  206. Finished restore at 29-NOV-13

  207. RMAN> recover database;

  208. Starting recover at 29-NOV-13
  209. using channel ORA_DISK_1

  210. starting media recovery

  211. unable to find archive log
  212. archive log thread=1 sequence=2
  213. RMAN-00571: ===========================================================
  214. RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
  215. RMAN-00571: ===========================================================
  216. RMAN-03002: failure of recover command at 11/29/2013 12:53:18
  217. RMAN-06054: media recovery requesting unknown log: thread 1 seq 2 lowscn 482473 --报错


  218. 11.查看记录
  219. [oracle@yws yws]$ ls
  220. control01.ctl control02.ctl control03.ctl example01.dbf redo01.log redo02.log redo03.log sysaux01.dbf system01.dbf temp01.dbf undotbs01.dbf users01.dbf

  221. 12.打开数据库
  222. SQL> alter database open;
  223. alter database open
  224. *
  225. ERROR at line 1:
  226. ORA-01589: must use RESETLOGS or NORESETLOGS option for database open


  227. SQL> alter database open noresetlogs;
  228. alter database open noresetlogs
  229. *
  230. ERROR at line 1:
  231. ORA-01588: must use RESETLOGS option for database open


  232. SQL> alter database open resetlogs;

  233. Database altered.

  234. SQL> select status from v$datafile;

  235. STATUS
  236. -------
  237. SYSTEM
  238. ONLINE
  239. ONLINE
  240. ONLINE
  241. ONLINE

  242. SQL> select checkpoint_change#,fuzzy from v$datafile_header;

  243. CHECKPOINT_CHANGE# FUZ
  244. ------------------ ---
  245.             482475 YES
  246.             482475 YES
  247.             482475 YES
  248.             482475 YES
  249.             482475 YES

  250. SQL> select CHECKPOINT_CHANGE#,OPEN_RESETLOGS,ARCHIVE_CHANGE# from v$database;

  251. CHECKPOINT_CHANGE# OPEN_RESETL ARCHIVE_CHANGE#
  252. ------------------ ----------- ---------------
  253.             482475 NOT ALLOWED 0

  254. SQL> select * from v$log;

  255.     GROUP# THREAD# SEQUENCE# BYTES MEMBERS ARC STATUS FIRST_CHANGE# FIRST_TIM
  256. ---------- ---------- ---------- ---------- ---------- --- ---------------- ------------- ---------
  257.          1 1 1 52428800 1 NO CURRENT 482474 29-NOV-13
  258.          2 1 0 52428800 1 YES UNUSED 0
  259.          3 1 0 52428800 1 YES UNUSED 0


  260. 看告警
  261. ksdpec: called for event 13740 prior to event group initialization
  262. Starting up ORACLE RDBMS Version: 10.2.0.1.0.
  263. System parameters with non-default values:
  264.   processes = 150
  265.   __shared_pool_size = 71303168
  266.   __large_pool_size = 4194304
  267.   __java_pool_size = 4194304
  268.   __streams_pool_size = 0
  269.   sga_target = 285212672
  270.   control_files = /u01/oracle/oradata/yws/control01.ctl, /u01/oracle/oradata/yws/control02.ctl, /u01/oracle/oradata/yws/control03.ctl
  271.   db_block_size = 8192
  272.   __db_cache_size = 201326592
  273.   compatible = 10.2.0.1.0
  274.   log_archive_dest_1 = location=/arc
  275.   db_file_multiblock_read_count= 16
  276.   db_recovery_file_dest = /u01/oracle/flash_recovery_area
  277.   db_recovery_file_dest_size= 2147483648
  278.   undo_management = AUTO
  279.   undo_tablespace = UNDOTBS1
  280.   remote_login_passwordfile= EXCLUSIVE
  281.   db_domain =
  282.   dispatchers = (PROTOCOL=TCP) (SERVICE=ywsXDB)
  283.   job_queue_processes = 10
  284.   background_dump_dest = /u01/oracle/admin/yws/bdump
  285.   user_dump_dest = /u01/oracle/admin/yws/udump
  286.   core_dump_dest = /u01/oracle/admin/yws/cdump
  287.   audit_file_dest = /u01/oracle/admin/yws/adump
  288.   db_name = yws
  289.   open_cursors = 300
  290.   pga_aggregate_target = 94371840
  291. PMON started with pid=2, OS id=22552
  292. PSP0 started with pid=3, OS id=22554
  293. MMAN started with pid=4, OS id=22556
  294. DBW0 started with pid=5, OS id=22558
  295. LGWR started with pid=6, OS id=22560
  296. CKPT started with pid=7, OS id=22562
  297. SMON started with pid=8, OS id=22564
  298. RECO started with pid=9, OS id=22566
  299. CJQ0 started with pid=10, OS id=22568
  300. MMON started with pid=11, OS id=22570
  301. MMNL started with pid=12, OS id=22572
  302. Fri Nov 29 12:48:42 2013
  303. starting up 1 dispatcher(s) for network address \'(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))\'...
  304. starting up 1 shared server(s) ...
  305. Fri Nov 29 12:48:42 2013


  306. Fri Nov 29 12:48:42 2013
  307. starting up 1 dispatcher(s) for network address \'(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))\'...
  308. starting up 1 shared server(s) ...
  309. Fri Nov 29 12:48:42 2013
  310. ALTER DATABASE MOUNT


  311. Fri Nov 29 12:48:42 2013
  312. ORA-00202: control file: \'/u01/oracle/oradata/yws/control01.ctl\'
  313. ORA-27037: unable to obtain file status
  314. Linux Error: 2: No such file or directory
  315. Additional information: 3
  316. Fri Nov 29 12:48:45 2013
  317. ORA-205 signalled during: ALTER DATABASE MOUNT...
  318. Fri Nov 29 12:51:09 2013
  319. alter database mount
  320. Fri Nov 29 12:51:13 2013
  321. Setting recovery target incarnation to 2
  322. Fri Nov 29 12:51:13 2013
  323. Successful mount of redo thread 1, with mount id 4198944637
  324. Fri Nov 29 12:51:13 2013
  325. Database mounted in Exclusive Mode
  326. Completed: alter database mount
  327. Fri Nov 29 12:51:48 2013
  328. Errors in file /u01/oracle/admin/yws/bdump/yws_dbw0_22558.trc:
  329. ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
  330. ORA-01110: data file 1: \'/u01/oracle/oradata/yws/system01.dbf\'
  331. ORA-27037: unable to obtain file status
  332. Linux Error: 2: No such file or directory
  333. Additional information: 3
  334. Fri Nov 29 12:51:48 2013
  335. Errors in file /u01/oracle/admin/yws/bdump/yws_dbw0_22558.trc:
  336. ORA-01157: cannot identify/lock data file 2 - see DBWR trace file
  337. ORA-01110: data file 2: \'/u01/oracle/oradata/yws/undotbs01.dbf\'
  338. ORA-27037: unable to obtain file status
  339. Linux Error: 2: No such file or directory
  340. Additional information: 3
  341. Fri Nov 29 12:51:48 2013
  342. Errors in file /u01/oracle/admin/yws/bdump/yws_dbw0_22558.trc:
  343. ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
  344. ORA-01110: data file 3: \'/u01/oracle/oradata/yws/sysaux01.dbf\'
  345. ORA-27037: unable to obtain file status
  346. Linux Error: 2: No such file or directory
  347. Additional information: 3


  348. Fri Nov 29 12:51:48 2013
  349. Errors in file /u01/oracle/admin/yws/bdump/yws_dbw0_22558.trc:
  350. ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
  351. ORA-01110: data file 4: \'/u01/oracle/oradata/yws/users01.dbf\'
  352. ORA-27037: unable to obtain file status
  353. Linux Error: 2: No such file or directory
  354. Additional information: 3
  355. Fri Nov 29 12:51:48 2013
  356. Errors in file /u01/oracle/admin/yws/bdump/yws_dbw0_22558.trc:
  357. ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
  358. ORA-01110: data file 5: \'/u01/oracle/oradata/yws/example01.dbf\'
  359. ORA-27037: unable to obtain file status
  360. Linux Error: 2: No such file or directory
  361. Additional information: 3
  362. Fri Nov 29 12:51:48 2013
  363. Errors in file /u01/oracle/admin/yws/bdump/yws_dbw0_22558.trc:
  364. ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
  365. ORA-01110: data file 1: \'/u01/oracle/oradata/yws/system01.dbf\'
  366. ORA-27037: unable to obtain file status
  367. Linux Error: 2: No such file or directory
  368. Additional information: 3
  369. Fri Nov 29 12:51:48 2013
  370. Errors in file /u01/oracle/admin/yws/bdump/yws_dbw0_22558.trc:
  371. ORA-01157: cannot identify/lock data file 2 - see DBWR trace file
  372. ORA-01110: data file 2: \'/u01/oracle/oradata/yws/undotbs01.dbf\'
  373. ORA-27037: unable to obtain file status
  374. Linux Error: 2: No such file or directory
  375. Additional information: 3
  376. Fri Nov 29 12:51:48 2013
  377. Errors in file /u01/oracle/admin/yws/bdump/yws_dbw0_22558.trc:
  378. ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
  379. ORA-01110: data file 3: '/u01/oracle/oradata/yws/sysaux01.dbf'
  380. ORA-27037: unable to obtain file status
  381. Linux Error: 2: No such file or directory
  382. Additional information: 3
  383. Fri Nov 29 12:51:48 2013
  384. Errors in file /u01/oracle/admin/yws/bdump/yws_dbw0_22558.trc:
  385. ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
  386. ORA-01110: data file 4: '/u01/oracle/oradata/yws/users01.dbf'
  387. ORA-27037: unable to obtain file status
  388. Linux Error: 2: No such file or directory
  389. Additional information: 3
  390. Fri Nov 29 12:51:48 2013
  391. Errors in file /u01/oracle/admin/yws/bdump/yws_dbw0_22558.trc:
  392. ORA-01157: cannot identify/lock data file 5 - see DBWR trace file

  393. ORA-01110: data file 2: '/u01/oracle/oradata/yws/undotbs01.dbf'
  394. ORA-27037: unable to obtain file status
  395. Linux Error: 2: No such file or directory
  396. Additional information: 3
  397. Fri Nov 29 12:51:48 2013
  398. Errors in file /u01/oracle/admin/yws/bdump/yws_dbw0_22558.trc:
  399. ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
  400. ORA-01110: data file 3: '/u01/oracle/oradata/yws/sysaux01.dbf'
  401. ORA-27037: unable to obtain file status
  402. Linux Error: 2: No such file or directory
  403. Additional information: 3
  404. Fri Nov 29 12:51:48 2013
  405. Errors in file /u01/oracle/admin/yws/bdump/yws_dbw0_22558.trc:
  406. ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
  407. ORA-01110: data file 4: '/u01/oracle/oradata/yws/users01.dbf'
  408. ORA-27037: unable to obtain file status
  409. Linux Error: 2: No such file or directory
  410. Additional information: 3
  411. Fri Nov 29 12:51:48 2013
  412. Errors in file /u01/oracle/admin/yws/bdump/yws_dbw0_22558.trc:
  413. ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
  414. ORA-01110: data file 5: '/u01/oracle/oradata/yws/example01.dbf'
  415. ORA-27037: unable to obtain file status
  416. Linux Error: 2: No such file or directory
  417. Additional information: 3



  418. Fri Nov 29 12:51:51 2013
  419. Full restore complete of datafile 4 /u01/oracle/oradata/yws/users01.dbf. Elapsed time: 0:00:00
  420.   checkpoint is 482473
  421. Full restore complete of datafile 2 /u01/oracle/oradata/yws/undotbs01.dbf. Elapsed time: 0:00:04
  422.   checkpoint is 482473
  423. Fri Nov 29 12:52:06 2013
  424. Full restore complete of datafile 5 /u01/oracle/oradata/yws/example01.dbf. Elapsed time: 0:00:14
  425.   checkpoint is 482473
  426. Fri Nov 29 12:52:18 2013
  427. Full restore complete of datafile 3 /u01/oracle/oradata/yws/sysaux01.dbf. Elapsed time: 0:00:28
  428.   checkpoint is 482473
  429. Fri Nov 29 12:52:35 2013
  430. Full restore complete of datafile 1 /u01/oracle/oradata/yws/system01.dbf. Elapsed time: 0:00:44
  431.   checkpoint is 482473
  432. Fri Nov 29 12:53:15 2013
  433. alter database recover datafile list clear
  434. Fri Nov 29 12:53:15 2013
  435. Completed: alter database recover datafile list clear
  436. Fri Nov 29 12:53:15 2013
  437. alter database recover datafile list
  438.  1 , 2 , 3 , 4 , 5
  439. Completed: alter database recover datafile list
  440.  1 , 2 , 3 , 4 , 5
  441. Fri Nov 29 12:53:15 2013
  442. alter database recover if needed
  443.  start until cancel using backup controlfile
  444. Media Recovery Start
  445. ORA-279 signalled during: alter database recover if needed
  446.  start until cancel using backup controlfile
  447. ...
  448. Fri Nov 29 12:53:16 2013
  449. alter database recover cancel
  450. Fri Nov 29 12:53:18 2013
  451. Media Recovery Canceled
  452. Completed: alter database recover cancel
  453. Fri Nov 29 13:03:45 2013
  454. db_recovery_file_dest_size of 2048 MB is 0.00% used. This is a
  455. user-specified limit on the amount of space that will be used by this
  456. database for recovery-related files, and does not reflect the amount of
  457. space available in the underlying filesystem or ASM diskgroup.
  458. Fri Nov 29 13:09:25 2013
  459. alter database open
  460. Fri Nov 29 13:09:25 2013
  461. ORA-1589 signalled during: alter database open...
  462. Fri Nov 29 13:09:45 2013
  463. alter database open noresetlogs
  464. Fri Nov 29 13:09:45 2013
  465. ORA-1588 signalled during: alter database open noresetlogs...
  466. Fri Nov 29 13:09:58 2013
  467. alter database open resetlogs
  468. Fri Nov 29 13:09:58 2013
  469. Errors in file /u01/oracle/admin/yws/udump/yws_ora_22577.trc:
  470. ORA-00313: open failed for members of log group 1 of thread 1
  471. ORA-00312: online log 1 thread 1: '/u01/oracle/oradata/yws/redo01.log'
  472. ORA-27037: unable to obtain file status
  473. Linux Error: 2: No such file or directory
  474. Additional information: 3
  475. Fri Nov 29 13:09:58 2013
  476. Errors in file /u01/oracle/admin/yws/udump/yws_ora_22577.trc:
  477. ORA-00313: open failed for members of log group 1 of thread 1
  478. ORA-00312: online log 1 thread 1: '/u01/oracle/oradata/yws/redo01.log'
  479. ORA-27037: unable to obtain file status
  480. Linux Error: 2: No such file or directory
  481. Additional information: 3
  482. Fri Nov 29 13:09:58 2013
  483. Errors in file /u01/oracle/admin/yws/udump/yws_ora_22577.trc:
  484. ORA-00313: open failed for members of log group 2 of thread 1
  485. ORA-00312: online log 2 thread 1: '/u01/oracle/oradata/yws/redo02.log'
  486. ORA-27037: unable to obtain file status
  487. Linux Error: 2: No such file or directory
  488. Additional information: 3
  489. Fri Nov 29 13:09:58 2013
  490. Errors in file /u01/oracle/admin/yws/udump/yws_ora_22577.trc:
  491. ORA-00313: open failed for members of log group 2 of thread 1
  492. ORA-00312: online log 2 thread 1: '/u01/oracle/oradata/yws/redo02.log'
  493. ORA-27037: unable to obtain file status
  494. Linux Error: 2: No such file or directory
  495. Additional information: 3
  496. Fri Nov 29 13:09:58 2013
  497. Errors in file /u01/oracle/admin/yws/udump/yws_ora_22577.trc:
  498. ORA-00313: open failed for members of log group 3 of thread 1
  499. ORA-00312: online log 3 thread 1: '/u01/oracle/oradata/yws/redo03.log'
  500. ORA-27037: unable to obtain file status
  501. Linux Error: 2: No such file or directory
  502. Additional information: 3
  503. Fri Nov 29 13:09:58 2013
  504. Errors in file /u01/oracle/admin/yws/udump/yws_ora_22577.trc:
  505. ORA-00313: open failed for members of log group 3 of thread 1
  506. ORA-00312: online log 3 thread 1: '/u01/oracle/oradata/yws/redo03.log'
  507. ORA-27037: unable to obtain file status
  508. Linux Error: 2: No such file or directory
  509. Additional information: 3
  510. Fri Nov 29 13:09:58 2013
  511. RESETLOGS after incomplete recovery UNTIL CHANGE 482473
  512. Resetting resetlogs activation ID 4198903106 (0xfa462d42)
  513. Fri Nov 29 13:09:58 2013
  514. Errors in file /u01/oracle/admin/yws/udump/yws_ora_22577.trc:
  515. ORA-00313: open failed for members of log group 1 of thread 1
  516. ORA-00312: online log 1 thread 1: '/u01/oracle/oradata/yws/redo01.log'
  517. ORA-27037: unable to obtain file status
  518. Linux Error: 2: No such file or directory
  519. Additional information: 3
  520. Fri Nov 29 13:10:00 2013
  521. Errors in file /u01/oracle/admin/yws/udump/yws_ora_22577.trc:
  522. ORA-00313: open failed for members of log group 2 of thread 1
  523. ORA-00312: online log 2 thread 1: '/u01/oracle/oradata/yws/redo02.log'
  524. ORA-27037: unable to obtain file status
  525. Linux Error: 2: No such file or directory
  526. Additional information: 3
  527. Fri Nov 29 13:10:02 2013
  528. Errors in file /u01/oracle/admin/yws/udump/yws_ora_22577.trc:
  529. ORA-00313: open failed for members of log group 3 of thread 1
  530. ORA-00312: online log 3 thread 1: '/u01/oracle/oradata/yws/redo03.log'

  531. ORA-27037: unable to obtain file status
  532. Linux Error: 2: No such file or directory
  533. Additional information: 3
  534. Fri Nov 29 13:10:04 2013
  535. Setting recovery target incarnation to 3
  536. Fri Nov 29 13:10:04 2013
  537. Assigning activation ID 4198944637 (0xfa46cf7d)
  538. LGWR: STARTING ARCH PROCESSES
  539. ARC0 started with pid=19, OS id=23381
  540. ARC1 started with pid=20, OS id=23383
  541. Fri Nov 29 13:10:05 2013
  542. ARC0: Archival started
  543. ARC1: Archival started
  544. LGWR: STARTING ARCH PROCESSES COMPLETE
  545. Fri Nov 29 13:10:05 2013
  546. ARC0: STARTING ARCH PROCESSES
  547. Fri Nov 29 13:10:05 2013
  548. ARC1: Becoming the 'no FAL' ARCH
  549. ARC1: Becoming the 'no SRL' ARCH
  550. Fri Nov 29 13:10:05 2013
  551. Thread 1 opened at log sequence 1
  552.   Current log# 1 seq# 1 mem# 0: /u01/oracle/oradata/yws/redo01.log
  553. Successful open of redo thread 1
  554. Fri Nov 29 13:10:05 2013
  555. ARC2: Archival started
  556. ARC0: STARTING ARCH PROCESSES COMPLETE
  557. ARC0: Becoming the heartbeat ARCH
  558. ARC2 started with pid=21, OS id=23385
  559. Fri Nov 29 13:10:05 2013
  560. MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
  561. Fri Nov 29 13:10:05 2013
  562. SMON: enabling cache recovery
  563. Fri Nov 29 13:10:08 2013
  564. Successfully onlined Undo Tablespace 1.
  565. Dictionary check beginning
  566. Fri Nov 29 13:10:08 2013
  567. Errors in file /u01/oracle/admin/yws/bdump/yws_dbw0_22558.trc:
  568. ORA-01157: cannot identify/lock data file 201 - see DBWR trace file
  569. ORA-01110: data file 201: '/u01/oracle/oradata/yws/temp01.dbf'
  570. ORA-27037: unable to obtain file status
  571. Linux Error: 2: No such file or directory
  572. Additional information: 3
  573. Fri Nov 29 13:10:08 2013
  574. Errors in file /u01/oracle/admin/yws/bdump/yws_dbw0_22558.trc:
  575. ORA-01186: file 201 failed verification tests
  576. ORA-01157: cannot identify/lock data file 201 - see DBWR trace file
  577. ARC2: Archival started
  578. ARC0: STARTING ARCH PROCESSES COMPLETE
  579. ARC0: Becoming the heartbeat ARCH
  580. ARC2 started with pid=21, OS id=23385
  581. Fri Nov 29 13:10:05 2013
  582. MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
  583. Fri Nov 29 13:10:05 2013
  584. SMON: enabling cache recovery
  585. Fri Nov 29 13:10:08 2013
  586. Successfully onlined Undo Tablespace 1.
  587. Dictionary check beginning
  588. Fri Nov 29 13:10:08 2013
  589. Errors in file /u01/oracle/admin/yws/bdump/yws_dbw0_22558.trc:
  590. ORA-01157: cannot identify/lock data file 201 - see DBWR trace file
  591. ORA-01110: data file 201: '/u01/oracle/oradata/yws/temp01.dbf'
  592. ORA-27037: unable to obtain file status
  593. Linux Error: 2: No such file or directory
  594. Additional information: 3
  595. Fri Nov 29 13:10:08 2013
  596. Errors in file /u01/oracle/admin/yws/bdump/yws_dbw0_22558.trc:
  597. ORA-01186: file 201 failed verification tests
  598. ORA-01157: cannot identify/lock data file 201 - see DBWR trace file
  599. ORA-01110: data file 201: '/u01/oracle/oradata/yws/temp01.dbf'
  600. Fri Nov 29 13:10:08 2013
  601. File 201 not verified due to error ORA-01157
  602. Fri Nov 29 13:10:08 2013
  603. Dictionary check complete
  604. Fri Nov 29 13:10:08 2013
  605. SMON: enabling tx recovery
  606. Fri Nov 29 13:10:08 2013
  607. Re-creating tempfile /u01/oracle/oradata/yws/temp01.dbf
  608. Database Characterset is WE8ISO8859P1
  609. replication_dependency_tracking turned off (no async multimaster replication found)
  610. Starting background process QMNC
  611. QMNC started with pid=22, OS id=23401
  612. Fri Nov 29 13:10:15 2013
  613. LOGSTDBY: Validating controlfile with logical metadata
  614. Fri Nov 29 13:10:15 2013
  615. LOGSTDBY: Validation complete
  616. Completed: alter database open resetlogs
  617. Fri Nov 29 13:16:05 2013
  618. Shutting down archive processes
  619. Fri Nov 29 13:16:10 2013
  620. ARCH shutting down
  621. ARC2: Archival stopped


来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29477587/viewspace-1078544/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/29477587/viewspace-1078544/

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值