What is the advantage backup as copy feature in RMAN?
RMAN(Recovery Manager) utility creates backup in the form of backupsets or backup pieces by default.RMAN utility also allows other method which is similar to user managed hot backup. It can be acheived using ‘BACKUP AS COPY’ command.Using “Backup as Copy” RMAN creates backup in the form of image copies. However, we do not need to put the database in begin backup/end backup mode as in Conventional Hot Backup.
Syntax for Datafile Backup using Backup as copy:
RMAN> backup as copy datafile 1 format ‘/backup/data/datafile01.dbf’ ;
Another advantage of this feature is that it allows to create image copy of control file.
RMAN> backup as copy current controlfile format ‘F:CntrlFile_Bkp.ctl’;
How do we identify backups taken as Image copies using RMAN?
Use “LIST COPY” Command. “LIST BACKUP” only gives a list of backup sets which were created using default RMAN backup Methos.
Syntax:
RMAN> LIST COPY;