Capricorn 发表于 2013-10-24 22:54:08

ramn恢复

一:users表空间损坏了
1:alter tablespace users offline
2:restore tablespace users将要恢复的文件提出出来
3:alter tablespace users online


基于时间的不完全恢复
1:先备份
2:建一个账户create user abc identified by abc
3:grant dba to abc    给abc以dba的权限
createset table abc(id int)
4:    删除abc的账户以及abc账户的表
5:shutdown immediate   
6:startup mount
7:run {
setuntil time “ to_date(‘2013—8—23 10:21:30’,‘yyyy-mm-dd hh24:mi:ss’)”;
8:restore database;
9:recover database;
10:alter database open resetlogs;
11:}

undo或者system表损坏
1:shutdown immediate
2:startup mount
3:restore datafile 3
4:recover datafile 3
5: alter database open
页: [1]
查看完整版本: ramn恢复