Shutdown immediate. Startup mount. Run { Allocate channel d1 type disk. Backup current controlfile format ‘d:\backup\ctl_%d_%s_%p_%t’. Release channel d1. }
Shutdown abort. Startup nomount. Run { Allocate channel d1 type disk. Restore controlfile form ‘d:\backup\path name’. Release channel d1. } Alter database mount. Recover database. //恢复数据库,使其与控制文件保持一致状态 Alter database open resetlogs.