我想通过 RMAN 备份并删除scott.dept
并再次恢复所有内容。(这是为了测试 RMAN 机制)
我是这样写的:
1)rman target sys/manager@db
2)in sql*plus
shutdown immediate;
startup mount exclusive;
ALTER DATABASE ARCHIVELOG;
2)CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'g:\db\db_cf%F';
3)BACKUP DATABASE PLUS ARCHIVELOG;
4)alter database open;
5)drop scott.dept
6)in sql*plus
shutdown immediate;
startup mount exclusive;
ALTER DATABASE ARCHIVELOG;
7)Restore Database;
8)Recover Database;
最后它告诉我:successfully completed
。
但scott.dept
尚未恢复;为什么?谢谢 ...