Sunday, May 15, 2011

RMAN Script: OMR Database Full Backup (Database Mounted)


 [ dbbkup_full.scp]

run {
allocate channel c1 type disk;
backup
tag weekly_omr_full
format '/u07/omr/backup/full_%d_%s_%p_%t'
(database);
release channel c1;

configure controlfile autobackup format for device type disk to '/u07/omr/backup
/auto_cntrl_%F';
configure controlfile autobackup on;

allocate channel c2 type disk;
backup
format '/u07/omr/backup/archive_%d_%s_%p_%t'
(archivelog all);
release channel c2;
}
startup;

No comments:

Post a Comment