All technological notes.
Backing Up Backup Sets:
backup sets from disk to disk. 默认磁盘到磁盘
_
Note:
backup sets that were created on device type DISK can be backed up using RMAN. 只有备份片能被 RMAN 备份.backup sets can be backed up to any available device type.BACKUP BACKUPSET. RMAN always makes one and only one copy on the specified media when performing BACKUP BACKUPSET. 不能备份到 tape 的同时多份备份.Syntax
BACKUP BACKUPSET;
-- Prerequisite: sbt channel have been configured.
-- Backup the database and archived redo logs to disk as backup sets.
BACKUP DEVICE TYPE DISK AS BACKUPSET DATABASE PLUS ARCHIVELOG;
-- Backup all database files and archived redo logs to SBT (System Backup to Tape) storage as backup sets.
BACKUP DEVICE TYPE sbt BACKUPSET ALL;
-- Optional: Perform a backup of all database files and archived redo logs to SBT (System Backup to Tape) storage as backup sets, and delete the input files (backup pieces) after a successful backup.
BACKUP DEVICE TYPE sbt BACKUPSET ALL DELETE INPUT;
-- backup database and archivelog as backupset, by default,the device type is disk
BACKUP AS BACKUPSET DATABASE PLUS ARCHIVELOG;
-- Backup all backupset
BACKUP BACKUPSET ALL;
-- note that here using default device type, the disk
-- the backup of backup set is backed up to FRA

Scenarios:
Good Practice:
tag of the image copy being backed up will also be assigned to the new backup. 自动继承标签Syntax & Example:
-- backs up the latest image copy of the database to tape:
BACKUP DEVICE TYPE sbt COPY OF DATABASE;
-- backs up the latest image copy backup of a database in backup sets on tape, and then deletes the input disk backups:
BACKUP DEVICE TYPE sbt COPY OF DATABASE DELETE INPUT;