Вопрос вот в чем. Допустим я делал 2 бэкапа full-online. Хочу восстановить первый из них: для этого я должен:
1) Воспользоваться brtools-resore and recovery
2) Там выбираю Restore of individual backup files
3) Восстанавливаю все файлы данных(cntrlPDW.dbf,PDW.DATA1,PDW.DATA2,PDW.DATA3,PDW640.DATA1,PDW640.DATA2,PDW640.DATA3,PDW640.DATA4,PDWUSR.DATA1,SYSTEM.DATA1,UNDO.DATA1)
4) Предположим не было бэкапа redo-log следовательно выбираю
Restore and application of archivelog files, а там выбираю open database с параметром resetlogs.
Правильно я делаю, чтобы восстановить нужный мне бэкап?
Когда так пытался восстановить базу - не удалось, он не смог открыть мне БД. В чем может быть проблема?
лог следующий
Code:
-------------------------------------------------------------------------------
Options for opening database instance PDW
1 ~ Reset logs option (reset_logs)... [resetlogs]
2 * Open database command (command) . [alter database open resetlogs]
Standard keys: c - cont, b - back, s - stop, r - refr, h - help
-------------------------------------------------------------------------------
BR0662I Enter your choice:
BR0280I BRRECOVER time stamp: 2006-07-13 11.53.58
BR0663I Your choice: 'c'
BR0259I Program execution will be continued...
BR0280I BRRECOVER time stamp: 2006-07-13 11.53.58
BR0786I Database instance PDW will be opened now in mode 'resetlogs'
BR0787I No more archivelog files can be applied after database has been opened
BR0675I Do you want to perform this action?
BR0676I Enter 'y[es]/c[ont]' to perform the action, 'n[o]' to skip it, 's[top]' to abort:
BR0280I BRRECOVER time stamp: 2006-07-13 11.53.59
BR0257I Your reply: 'c'
BR0677I Action will be performed...
BR0259I Program execution will be continued...
BR0280I BRRECOVER time stamp: 2006-07-13 11.53.59
BR0304I Starting and opening database instance PDW ...
BR0278E Command output of 'F:\oracle\pdw\920\bin\SQLPLUS':
SQL*Plus: Release 9.2.0.7.0 - Production on Thu Jul 13 11:53:59 2006
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> Connected to an idle instance.
SQL>
SQL> ORACLE instance started.
Total System Global Area 1176346552 bytes
Fixed Size 737208 bytes
Variable Size 620756992 bytes
Database Buffers 553648128 bytes
Redo Buffers 1204224 bytes
Database mounted.
SQL> alter database open resetlogs
*
ERROR at line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: 'F:\ORACLE\PDW\SAPDATA1\SYSTEM_1\SYSTEM.DATA1'
SQL> Disconnected from Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.7.0 - Production
BR0280I BRRECOVER time stamp: 2006-07-13 11.54.09
BR0279E Return code from 'F:\oracle\pdw\920\bin\SQLPLUS': 0
BR0302E SQLPLUS call for database instance PDW failed
BR0306E Start and open of database instance PDW failed
BR0669I Cannot continue due to previous warnings or errors - you can go back to repeat the last action
BR0280I BRRECOVER time stamp: 2006-07-13 11.54.09
[/code]