我再做dg测试,做到最后一步验看数据传输是否正常,总会提示我做数据库还原是为什么哪,哪位帮忙看看?
SQL> alter database open read only;
alter database open read only
*
ERROR at line 1:
ORA-16004: backup database requires recovery
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: '/u01/oradata/lab01/system01.dbf'
SQL> alter database open read only;
alter database open read only
*
ERROR at line 1:
ORA-16004: backup database requires recovery
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: '/u01/oradata/lab01/system01.dbf'
Cause: An incomplete recovery session was started, but an insufficient number of logs were applied to make the database consistent. This file is still in the future of the last log applied. The most likely cause of this error is forgetting to restore the file from a backup before doing incomplete recovery.Action: Either apply more logs until the database is consistent or restore the database file from an older backup and repeat recovery.
[oracle@lab02 u01]$ scp -r [email protected]:/u01/oradata . 迁移DB文件
[oracle@lab02 u01]$ scp -r [email protected]:/u01/admin .
[oracle@lab02 u01]$ scp -r [email protected]:/u01/oracle/dbs .
哪位帮我看看?
===========================================
alter database recover standby database cancel;
alter database open read only;
alter database open
*
ERROR at line 1:
ORA-16004: backup database requires recovery
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: '/u01/oradata/lab01/system01.dbf'