【Oracle】RMAN备份
1. 完全备份
RMAN> backup as backupset database; Starting backup at 14-DEC-16
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=16 device type=DISK
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00001 name=/u01/app/oracle/oradata/ENMOEDU/system01.dbf
input datafile file number=00002 name=/u01/app/oracle/oradata/ENMOEDU/sysaux01.dbf
input datafile file number=00005 name=/u01/app/oracle/oradata/ENMOEDU/example01.dbf
input datafile file number=00003 name=/u01/app/oracle/oradata/ENMOEDU/undotbs01.dbf
input datafile file number=00006 name=/u01/app/oracle/oradata/ENMOEDU/ts_lgr.dbf
input datafile file number=00004 name=/u01/app/oracle/oradata/ENMOEDU/users01.dbf
channel ORA_DISK_1: starting piece 1 at 14-DEC-16
channel ORA_DISK_1: finished piece 1 at 14-DEC-16
piece handle=/u01/app/oracle/product/11.2.0/db_1/dbs/13rnfdlf_1_1 tag=TAG20161214T175350 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:02:35
Finished backup at 14-DEC-16 Starting Control File and SPFILE Autobackup at 14-DEC-16
piece handle=/u01/app/oracle/product/11.2.0/db_1/dbs/c-188428065-20161214-09 comment=NONE
Finished Control File and SPFILE Autobackup at 14-DEC-16
RMAN>
2. 级别为0的增量备份
RMAN> backup as backupset incremental level 0 database; Starting backup at 14-DEC-16
using channel ORA_DISK_1
channel ORA_DISK_1: starting incremental level 0 datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00001 name=/u01/app/oracle/oradata/ENMOEDU/system01.dbf
input datafile file number=00002 name=/u01/app/oracle/oradata/ENMOEDU/sysaux01.dbf
input datafile file number=00005 name=/u01/app/oracle/oradata/ENMOEDU/example01.dbf
input datafile file number=00003 name=/u01/app/oracle/oradata/ENMOEDU/undotbs01.dbf
input datafile file number=00006 name=/u01/app/oracle/oradata/ENMOEDU/ts_lgr.dbf
input datafile file number=00004 name=/u01/app/oracle/oradata/ENMOEDU/users01.dbf
channel ORA_DISK_1: starting piece 1 at 14-DEC-16
channel ORA_DISK_1: finished piece 1 at 14-DEC-16
piece handle=/u01/app/oracle/product/11.2.0/db_1/dbs/15rnfe0a_1_1 tag=TAG20161214T175938 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:02:45
Finished backup at 14-DEC-16 Starting Control File and SPFILE Autobackup at 14-DEC-16
piece handle=/u01/app/oracle/product/11.2.0/db_1/dbs/c-188428065-20161214-0a comment=NONE
Finished Control File and SPFILE Autobackup at 14-DEC-16 RMAN>
3. 级别为1的差异增量备份
RMAN> backup as backupset incremental level 1 database; Starting backup at 14-DEC-16
using channel ORA_DISK_1
channel ORA_DISK_1: starting incremental level 1 datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00001 name=/u01/app/oracle/oradata/ENMOEDU/system01.dbf
input datafile file number=00002 name=/u01/app/oracle/oradata/ENMOEDU/sysaux01.dbf
input datafile file number=00005 name=/u01/app/oracle/oradata/ENMOEDU/example01.dbf
input datafile file number=00003 name=/u01/app/oracle/oradata/ENMOEDU/undotbs01.dbf
input datafile file number=00006 name=/u01/app/oracle/oradata/ENMOEDU/ts_lgr.dbf
skipping datafile 00006 because it has not changed
input datafile file number=00004 name=/u01/app/oracle/oradata/ENMOEDU/users01.dbf
channel ORA_DISK_1: starting piece 1 at 14-DEC-16
channel ORA_DISK_1: finished piece 1 at 14-DEC-16
piece handle=/u01/app/oracle/product/11.2.0/db_1/dbs/17rnfeas_1_1 tag=TAG20161214T180516 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:01:35
Finished backup at 14-DEC-16 Starting Control File and SPFILE Autobackup at 14-DEC-16
piece handle=/u01/app/oracle/product/11.2.0/db_1/dbs/c-188428065-20161214-0b comment=NONE
Finished Control File and SPFILE Autobackup at 14-DEC-16 RMAN>
4. 级别为1的累积增量备份
RMAN> backup as backupset incremental level 1 cumulative database; Starting backup at 14-DEC-16
using channel ORA_DISK_1
channel ORA_DISK_1: starting incremental level 1 datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00001 name=/u01/app/oracle/oradata/ENMOEDU/system01.dbf
input datafile file number=00002 name=/u01/app/oracle/oradata/ENMOEDU/sysaux01.dbf
input datafile file number=00005 name=/u01/app/oracle/oradata/ENMOEDU/example01.dbf
input datafile file number=00003 name=/u01/app/oracle/oradata/ENMOEDU/undotbs01.dbf
input datafile file number=00006 name=/u01/app/oracle/oradata/ENMOEDU/ts_lgr.dbf
skipping datafile 00006 because it has not changed
input datafile file number=00004 name=/u01/app/oracle/oradata/ENMOEDU/users01.dbf
channel ORA_DISK_1: starting piece 1 at 14-DEC-16
channel ORA_DISK_1: finished piece 1 at 14-DEC-16
piece handle=/u01/app/oracle/product/11.2.0/db_1/dbs/19rnfeg1_1_1 tag=TAG20161214T180801 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:02:35
Finished backup at 14-DEC-16 Starting Control File and SPFILE Autobackup at 14-DEC-16
piece handle=/u01/app/oracle/product/11.2.0/db_1/dbs/c-188428065-20161214-0c comment=NONE
Finished Control File and SPFILE Autobackup at 14-DEC-16 RMAN>
【Oracle】RMAN备份的更多相关文章
- Oracle RMAN 备份一例
Oracle RMAN备份一例: Solaris 10 + Oracle 11.2.0.3 Shell:csh,安装有bash,脚本调用bash 备份策略:周日0级备份,周一~周六1级备份,每6小时备 ...
- Oracle—RMAN备份(三)
一.增量备份的相关概念 1. 在前面说明了RMAN的完整备份,完整备份是备份所用使用过的块,不备份没有使用的过的块:增量备份只备份自上次备份以来更改过的块. 2.即使RMAN的默认操作是在增量备份时扫 ...
- Oracle—RMAN备份(一)
一.RMAN备份相关概念 1.RMAN备份中表空间不需要处于backup模式下,它备份数据文件,归档日志文件,控制文件,spfile和备份集片,但不备份联机重做日志文件,临时文件和口令文件. 2.备份 ...
- Oracle—RMAN备份(二)
在Oracle RMAN备份(一)中,对各种文件在RMAN中备份进行了说明, 一.备份集的复制 在RMAN 备份中,可以备份其自己的备份,即备份一个文件放在多个目录下,oralce支持最多备份四个. ...
- ORACLE RMAN备份--差异增量与累积增量的策略实例图
转自原文 ORACLE RMAN备份--差异增量与累积增量的策略实例图
- ORACLE RMAN备份及还原 RMAN能够进行增量备份:数据库,表空间,数据文件
ORACLE RMAN备份及还原 RMAN能够进行增量备份:数据库.表空间.数据文件 仅仅有使用过的block能够被备份成backup set 表空间与数据文件相应关系:dba_data_file ...
- Oracle RMAN备份策略
建立增量备份:如果数据库运行于不归档模式下,只能在数据库干净关闭的情况下 ( 以 normal .immediate . transactional 方式关闭 ) 才能进行一致性的增量备份,如果数据库 ...
- Oracle RMAN备份恢复指导书
目 录 1 目的与范围... 1 2 术语和定义... 1 3 角色和职责... 2 4 使用RMAN备份数据库... 2 4.1.1 检查数据库模式... 2 4.1.2 连接到target数据库. ...
- Oracle RMAN备份与还原注意事项
1 备份文件管理 如果要删除之前的备份,不要手动去目录下删除,应该在rman命令模式下使用删除命令,否则虽然在磁盘上把物理备份文件删除了,但是使用备份查看命令会一直看到已经删除的备份文件 list b ...
- Oracle RMAN备份与还原
RMAN在数据库服务器的帮助下实现数据库文件.控制文件.数据库文件与控制文件的映像副本.归档日志文件.数据库服务器参数文件的备份. RMAN的特点: (1) 支持增量备份:传统的exp与expdp备份 ...
随机推荐
- Xcache3.2.0不支持php7.0.11
编译安装xcache3.2.0时在make这一步报错: AUTOCHECK missing : "arg_flags" "cache_size" AUTOCHE ...
- 日志输出最不重要的就是控制台输出,控制台输出就是system.out而已
1.日志输出最不重要的就是控制台输出,控制台输出就是system.out而已 2.所以日志输出时候会存在一个Bug就是:stdout要配置在日志输出的最前面,因为stdout控制台输出,最不重要,如果 ...
- oracle BBED 直接改动数据库block块
1.BBED配置 1)将相应文件放到$ORACLE_HOME/rdbms/mesg和$ORACLE_HOME/rdbms/lib中: --将lib中bbedus.msb和bbedus.msg ...
- Xcode6+Cocos2d-x真机调试 报错
眼下真机调试时遇到下面问题. Undefined symbols for architecture arm64: "_png_get_io_ptr", referenced fro ...
- 号外:java基础班教材永久免费 报名就送
以前万人疯抢的成都传智播客java基础班教材,今日免费赠送,你hold的住吗? 由成都传智播客传道授业解惑的诸位老师,精心制作的教材.如今免费赠送,你能接的住吗? 书是交融感情.获得知识.传承经验的重 ...
- Linux中的默认权限与隐藏权限(文件、文件夹)
一个文件(或文件夹)拥有若干个属性.包含(r/w/x)等基本属性,以及是否为文件夹(d)与文件(-)或连接文件(l)等属性.此外,Linux还能够设置其它系统安全属性.使用chattr来设置.以lsa ...
- 翻译Beginning iOS 7 Development中文版
不会iOS开发好像真的说只是去,来本中文版的Beginning iOS 7 Development吧. 看了Beginning iOS 7 Development这本书,感觉蛮不错的.全英文的,没有中 ...
- beisen
#include <stdio.h> #include <pthread.h> #include <windows.h> #define N 100 #define ...
- DNS Tunneling及相关实现——总之,你发起攻击都需要一个DNS server,下载一些工具作为client发起数据,server收集数据并响应
摘自:http://www.freebuf.com/sectool/112076.html DNS Tunneling,是隐蔽信道的一种,通过将其他协议封装在DNS协议中传输建立通信.因为在我们的网络 ...
- Java-Maven:POM百科
ylbtech-Java-Maven:POM百科 Maven是以项目为中心的设计.POM(project object model)是Maven对一个单一项目的描述.没有POM的话,Maven是毫无用 ...