oracle 备份恢复 06ramn完全恢复
一、搭建实验环境 1.创建8张表scott.lxtb1-lxtb8 create table scott.lxtb9 tablespace lxtb as select * from scott.emp; 2.3DML操作 insert into scott.lxtb9 select * from scott.emp; commit; alter system archive log current; insert into scott.lxtb9 select * from scott.emp; commit; insert into scott.lxtb9 select * from scott.emp; select count(1) from scott.lxtb9; 3.热备脚本 run{ sql 'alter system switch logfile'; allocate channel c1 type disk; allocate channel c2 type disk; backup database format '/u01/app/backdir/rman/hot_bak/hot_%d_%s_%p.bak' include current controlfile plus archivelog delete input format '/u01/app