Understanding Full Backup and Incremental Backup in Oracle Database
Understanding Full Backup and Incremental Backup in Oracle Database
Introduction
Backup strategies are essential for safeguarding the data integrity and availability of an Oracle Database. Two common types of backups used are Full Backup and Incremental Backup. In this article, we will explore these backup types and provide examples of backup commands for a pluggable database in Oracle.
Full Backup
A Full Backup, as the name suggests, involves taking a complete backup of the database. This backup contains all the data files, control files, and archived redo logs necessary to restore the database to its state at the time the backup was taken.
Example Command for Full Backup
backup pluggable database cbs1 format '/backup/cbs1pdbs/%d_%t_%s.rman';
In this command:
backup pluggable database cbs1: Specifies that a backup of the pluggable database namedcbs1will be taken.format '/backup/cbs1pdbs/%d_%t_%s.rman': Specifies the format and location where the backup files will be stored. The%d,%t, and%splaceholders will be replaced by the database name, backup timestamp, and backup set number, respectively.
Incremental Backup
An Incremental Backup captures only the changes made to the database since the last backup. This type of backup is typically faster and requires less storage space compared to a Full Backup.

Example Command for Incremental Backup
backup incremental level 1 pluggable database cbs1 format '/backup/cbs1pdbs/%d_%t_%s.rman';
In this command:
backup incremental level 1: Specifies that an incremental level 1 backup will be taken. This means it will capture the changes since the last backup, whether it was a full or incremental backup.pluggable database cbs1: Specifies the pluggable database for which the backup will be taken.format '/backup/cbs1pdbs/%d_%t_%s.rman': Specifies the format and location for storing the backup files, similar to the Full Backup command
Conclusion
Understanding Full and Incremental Backups is crucial for implementing an effective backup strategy for your Oracle Database. While Full Backups provide a complete snapshot of the database, Incremental Backups offer a more efficient way to capture changes incrementally.
← PostgreSQL Blog