Some of the key command options used for backup in RMAN (Recovery Manager):
- BACKUP: This is the primary command to create backups. It can be used to back up the entire database, specific tablespaces, datafiles, control files, and archived redo logs.
- INCREMENTAL LEVEL 0: Creates a full backup of the database or specified objects. This is the baseline for subsequent incremental backups.
- INCREMENTAL LEVEL 1: Backs up only the blocks that have changed since the last level 0 or level 1 backup.
- DATABASE: Specifies that the entire database should be backed up.
- TABLESPACE: Backs up specific tablespaces.
- DATAFILE: Backs up specific datafiles.
- ARCHIVELOG: Backs up archived redo logs, which are essential for recovery.
- PLUS ARCHIVELOG: Backs up the database along with all archived redo logs.
- FORMAT: Specifies the location and naming convention for the backup files.
- TAG: Assigns a tag to the backup for easy identification.
- KEEP: Specifies that the backup should be retained for a specified period, regardless of the retention policy.
- VALIDATE: Checks the integrity of the backup without actually creating it.
- CHECK LOGICAL: Verifies the logical consistency of the backup.
- MAXPIECESIZE: Limits the size of backup pieces.
- COMPRESSED: Creates a compressed backup to save space.
- SECTION SIZE: Divides the backup into sections of a specified size, useful for large datafiles.
- FOR RECOVER OF COPY: Applies incremental backups to an existing image copy backup.
- NOREDO: Backs up datafiles without including redo data.
- AS COPY: Creates image copies of the datafiles.
- AS BACKUPSET: Creates backup sets, which are RMAN-specific formats.