ORACLE_基础二十四(RMAN RECOVER)
2015-04-15 11:00
387 查看
Using RMAN in ARCHIVELOG
rman target sys/sys RMAN> backup database format '/u01/app/oracle/flash_recovery_area/KING/wb_%u'; RMAN> sql 'alter system archive log current'; //这个不是必须但是是习惯这么做 backup incremental level 0 database format '/u01/app/oracle/flash_recovery_area/KING/all_%U'; SQL> insert into usr1.t4 values(1,'haha') commit; backup incremental level 1 database format '/u01/app/oracle/flash_recovery_area/KING/all_%U'; SQL>shutdown immediate; 删除所有数据文件: rm -f *.dbf SQL> startup mount; RMAN> restore database; RMAN> recover database; SQL> alter database open; SQL> select * from usr1.t3;
Restore to a New Location
Recovery a Tablespace
RMAN Incomplete Recovery
1.Mount the database.2.Allocate multiple chanels for parallelization
3.Restore all datafiles
4.Recover the database by using UNTIL TIME, UNTIL SEQUENCE or UNTIL SCN>
5.Open the database by using RESETLOGS
6.Perform a whole database backup.
UTIL TIME Example
UNTIL SEQUENCE Example
相关文章推荐
- ORACLE 使用rman备份通过restore、recover恢复standby库ORA-10877实战
- ORACLE基础学习-RMAN应用-控制文件恢复
- Oracle RMAN Recover中使用BBED 跳过缺失的归档 继续 Recover 的测试
- Oracle RMAN Recover中使用BBED 跳过缺失的归档 继续 Recover 的测试
- rman blockrecover ORA-600 [kcrrge.cannotread_inc.1] oracle bug 处理方式
- Oracle rman中restore和recover的区别
- ORACLE基础学习-RMAN应用之(归档模式无备份,丢失数据文件的恢复)
- Oracle rman中restore和recover的区别
- Oracle RMAN Recover中使用BBED 跳过缺失的归档 继续 Recover 的测试
- ORACLE基础学习-RMAN应用--归档模式有备份,丢失数据文件恢复
- Oracle基础知识(二十四) - select for update
- Oracle 12c 32k 与 rman recover table之间的 Bug
- Oracle rman中restore和recover的区别
- Oracle RMAN Recover中使用BBED 跳过缺失的归档 继续 Recover 的测试 .
- Oracle RMAN DUPLICATE/RESTORE/RECOVER 支持的混合平台
- Oracle 12c: RMAN restore/recover pluggable database
- oracle基础--rman服务器管理的备份之备份加密
- Oracle® 数据库备份恢复基础--3.5为RMAN设置闪回恢复区
- Oracle RMAN Recover中使用BBED 跳过缺失的归档 继续 Recover 的测试
- Oracle RMAN DUPLICATE/RESTORE/RECOVER 支持的混合平台