Backup and Recovery Documentation Roadmap -- 关于备份恢复的学习
Typical Backup Options -- 数据库备份标识
Making Incremental Backups -- 增量备份
The starting point for an incremental backup strategy is a level 0 incremental backup,
which backs up all blocks in the database. An incremental backup at level 0 is identical
in content to a full backup, however, unlike a full backup the level 0 backup is
considered a part of the incremental backup strategy.
A level 1 incremental backup contains only blocks changed after a previous
incremental backup. If no level 0 backup exists in either the current or parent database
incarnation when you run a level 1 backup, then RMAN makes a level 0 backup
automatically.
-- level 0 全备,level 1增量备份
A level 1 backup can be a cumulative incremental backup, which includes all blocks
changed since the most recent level 0 backup, or a differential incremental backup,
which includes only blocks changed since the most recent incremental backup.
Incremental backups are differential by default.
-- 累积备份是从最近的LEVEL0备份开始,差异备份是从最近的增量(累积或者差异)备份开始。
To make incremental backups of the database: -- 创建增量备份
1. Start RMAN and connect to a target database.
2. Run the BACKUP INCREMENTAL command.
The following example creates a level 0 incremental backup to serve as a base for
an incremental backup strategy:
BACKUP INCREMENTAL LEVEL 0 DATABASE;
The following example creates a level 1 cumulative incremental backup:
BACKUP INCREMENTAL LEVEL 1 CUMULATIVE DATABASE;
The following example creates a level 1 differential incremental backup:
BACKUP INCREMENTAL LEVEL 1 DATABASE;