全备份和0增量备份的区别

来源:互联网 发布:mac怎么切换大写字母 编辑:程序博客网 时间:2024/04/30 14:44

Full

A backup of a datafile that includes every allocated block in the file being backed up. A full backup of a datafile can be an image copy, in which case every data block is backed up. It can also be stored in a backup set, in which case datafile blocks not in use may be skipped, according to rules in Oracle Database Backup and Recovery Reference.

A full backup cannot be part of an incremental backup strategy; that is, it cannot be the parent for a subsequent incremental backup.

全备份

备份数据文件指在其中所有已经分配的数据块都会被备份。一份全部备份的数据文件可以是一份镜像拷贝文件,在此上的所有数据块都会备份,它也可以是一份备份集,在其中的未使用的数据块可能会被忽略,具体的规则在oracle数据备份和恢复参考文档中做了详细的说明。

全备份不能作为增量备份策略的一部分,它不能成为后续增量备份的父备份(基础备份)。


 Incremental

An incremental backup is either a level 0 backup, which includes every block in the file except blocks compressed out because they have never been used, or a level 1 backup, which includes only those blocks that have been changed since the parent backup was taken.

A level 0 incremental backup is physically identical to a full backup. The only difference is that the level 0 backup is recorded as an incremental backup in the RMAN repository, so it can be used as the parent for a level 1 backup.

增量备份可以是0级备份,0级备份中除了没有被使用的数据块外所有的数据块都会被备份(意思就是0级备份只备份数据库中使用的数据块),同时,还可以是1级备份,其下一级的备份包括了在此上所有改变的数据块。

0级备份物理上是和全备份是一样的,唯一的区别就是0级备份可以是在RMAN备份库中看作是一份增量备份,可以用作下一级1级备份的基础备份。
 
也就是说我可以不做0级备份,直接做1级备份也可以,然后在1级备份上在做2、3级备份
原创粉丝点击