RMAN创建恢复目录
一、创建表空间、用户,授权二、创建[@more@]一、创建表空间、用户,授权SQL> create tablespace rman_ts datafile '/home/oracle/oracle/product/10.2.0/oradata/orcl/rmants.dbf' size 20M;Tablespace created.SQL> create user rman identified by rman default tablespace rman_ts quota unlimited on rman_ts;User created.SQL> grant connect,resource,recovery_catalog_owner to rman;Grant succeeded.二、创建[oracle@localhost ~]$ rman catalog rman/rmanRecovery Manager: Release 10.2.0.1.0 - Production on Sat Fe
RMAN学习小结1:不完全恢复
通过海明老师的视频教程学习,针对各种类型文件丢失的恢复进行了简要小结。一、SPFILE丢失二、CONTROLFILE丢失三、Redolog file丢失四、datafile丢失五、tablespace丢失六、非catalog方式完全恢复七、基于时间点的恢复八、基于SCN的恢复九、基于日志序列的恢复[@more@]一、SPFILE丢失RMAN> Startup nomount;RMAN> set dbid nnn;RMAN> restore spfile from autobackup; --可能会失败,找不到autobackup备份集,指定文件即可。RMAN> shutdown immediate;RMAN> set dbid nnn;RMAN> startup;二、CONTROLFILE丢失RMAN> St