????RMAN??????????????????????????????????
?????????ù???block??????????backup set
?????????????????????????dba_data_files / v$datafile_header
??????noarchivelog???£????????RMAN????read-only??offline?????
????ORACLE RMAN????????
????????
????RMAN??????ORACLE??WINDOWS????????????
????RMAN TARGET /
???????????????????????????????RMAN??????????????dedicate??????????share???μ??????????????dedicate??????????RMAN?????
???????????????????????????????
????configure controfile autobackup on;//??autobackup
????configure controfile autobackup off;//???autobackup
????????????
????RMAN>shutdown immediate
????mount ?????RMAN??????????MOUNT???£??????????????????????
????RMAN>startup mount
???????????
????RMAN>backup database
?????????OK??
?????????????????????????????λ?á?%oracle_home%/ora92/database
????????????????run????????????????
????RMAN>run{
????>allocate chennel d1 type disk; //???????
????>backup full database //??????????
????>include current controlfile //?????????controlfile
????>format 'e:oracleordersdb_%d_%s_%p_%t_%T'; //???????λ?ú?????????
????>release channel d1;//??????
????>}
???????
????1????????????????????????????????????
????RMAN?????????
????startup mount
????restore database
????recover database noredo;
????alter database open resetlogs;
????recover database noredo????????RMAN??к??????????????????????????????NOARCHIVELOG???2????????κι鵵????????????????????????????????????????????????????noredo??????
?????????alter database open resetlogs???????????????????????????????????1?????????????????????resetlogs??
????2????????????
????startup nomount;
????set dbid = <dbid>
????restore controlfile from autobackup ;
????alter database mount;
????restore database;
????recover database noredo;
????alter database open resetlogs;
????alter database open;
????????????????????DBID?????????select * from v$database?в鵽???????????????????????????????OPEN??????????????????????DBID????????
?????????????RMAN????????????????????п??????RMAN??????????????