Amazon books

Wednesday, October 10, 2012

RMAN Backup to DISK and TAPE on same RUN block


This backup will do a disk and tape backup on same block using the TAG from disk backup:

run{
crosscheck archivelog all;
crosscheck backup;
backup
 device type disk incremental level 0
 format '+ORAPRD_RECO'
 database
 tag 'SEMANAL_ORAPRD';
backup device type sbt backupset from tag  'SEMANAL_ORAPRD';
backup device type disk current controlfile format '+ORAPRD_RECO';
backup device type sbt current controlfile format 'BKP_CTL_SEMANAL_ORAPRD_%U';
}

Best Regards,
Paulo Portugal

No comments:

Post a Comment