Creating and Managing Backup Sets
Earlier in this course, you learned about image copies
Image copies have advantages and disadvantages. On the plus side, you can use an image copy as a back up without having to do a restore. On the other hand, it is difficult to make an image copy that is both consistent and up to date, and also difficult and less flexible to use parallel processes to do an image copy backup.
In this module, you will explore backup sets, the other backup format. By the end of this module, you'll be able to:
- Review the concept of a backup set
- Identify the syntax of the
- Discuss how and why Recovery Manager (RMAN) multiplexes backup sets
- Demonstrate how Recovery Manager parallelizes backup sets
- Identify data file backup sets
- Identify archive log backup sets
In today's IT environment, backup sets are the most commonly used backup format, so the knowledge gained in this module will benefit you in the workplace.
Configuring Default Type for Backups:
Backup Sets or Copies
The BACKUP command can create either backup sets or image copies. For disk, you can configure RMAN to create either backup sets or image copies as its default backup type with the CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO command.
The default backup type for disk is an uncompressed backup set.
Note: Because RMAN can write an image copy only to disk, the backup type for tape can only be a backup set.
RMAN can create backup sets using binary compression. You can configure RMAN to use compressed backup sets by default on a device type by specifying the COMPRESSED option in the
BACKUP TYPE TO ... BACKUPSET
clause. To disable compression, use the CONFIGURE DEVICE TYPE command with arguments specifying your other desired settings,
but omit the COMPRESSED keyword.
To configure the default type of backup:
The following examples configure the backup type for disk backups to copies and backup sets:
- Start RMAN and connect to a target database and a recovery catalog (if used).
- Configure backup sets or image copies as the default backup type.
CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COPY; # image copies
CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO BACKUPSET; # uncompressed
The following examples configure compression for backup sets:
CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET;
CONFIGURE DEVICE TYPE sbt BACKUP TYPE TO COMPRESSED BACKUPSET;
In the next lesson, you will review what a backup set is.