Восстановить бекап от 10g в среде 11g

serg4321
Дата: 19.11.2009 14:29:06
Привет!

Коллеги, подскажите, пожалуйста, могу ли я имея только бекап базы(rman backupset), сделанный в 10g, восстановить его на хосте с 11g?

Заранее спасибо!
pravednik
Дата: 19.11.2009 14:37:36
можете
serg4321
Дата: 19.11.2009 15:22:27
pravednik,

Спасибо за ответ! Не могли бы вы еще уточнить последовательность действий после recover database?

Спасибо!
pravednik
Дата: 19.11.2009 15:32:19
serg4321,

SQL> alter database open resetlogs upgrade; 
SQL> SPOOL upgrade.log
SQL> @$ORACLE_HOME/rdbms/admin/catupgrd.sql
SQL> SPOOL OFF
SQL> shu immediate
SQL> startup
SQL> @$ORACLE_HOME/rdbms/admin/catuppst.sql
SQL> @$ORACLE_HOME/rdbms/admin/utlrp.sql
serg4321
Дата: 19.11.2009 15:34:55
pravednik,

А вас на этапе @$ORACLE_HOME/rdbms/admin/catupgrd.sql не вылетала ошибка

#######################################################################
#######################################################################
   The following statement will cause an "ORA-01722: invalid number"
   error if the current timezone version file is not the same as the
   version in the database to be upgraded.  The statement will cause an
   ORA-00942 or ORA-00904 error if the pre-upgrade utility (utlu111i.sql)
   has not be run to update registry$database table to include the existing
   database timezone file version.

   Shutdown ABORT and revert to the original ORACLE_HOME.  Then apply
   the required timezone version patch to the original ORACLE_HOME
   prior to attempting to upgrade.  Re-run utlu111i.sql after applying
   the patch to record the new timzone file version in the
   registry$database table.

#######################################################################
#######################################################################
#

SELECT TO_NUMBER('MUST_BE_SAME_TIMEZONE_FILE_VERSION')
   FROM registry$database
   WHERE tz_version != (SELECT version from  v$timezone_file);

?
pravednik
Дата: 19.11.2009 15:37:08
serg4321,

 The following statement will cause an "ORA-01722: invalid number"
   error if the current timezone version file is not the same as the
   version in the database to be upgraded.  The statement will cause an
   ORA-00942 or ORA-00904 error if the pre-upgrade utility (utlu111i.sql)
   has not be run to update registry$database table to include the existing
   database timezone file version.

) трудности с переводом ? ;)
serg4321
Дата: 19.11.2009 15:55:55
pravednik,

Нет :), пойду на металинк. Вам большое спасибо за помощь! Все прошло успешно.