0% found this document useful (0 votes)
32 views1 page

MD Backup

Uploaded by

kwakutse20
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views1 page

MD Backup

Uploaded by

kwakutse20
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

RUN

{
ALLOCATE CHANNEL C1 DEVICE TYPE SBT;
ALLOCATE CHANNEL C2 DEVICE TYPE SBT CONNECT sys/oracle@RAC2;
ALLOCATE CHANNEL C3 DEV1 DEVICE TYPE SBT CONNECT sys/oracle@RAC3;
SQL 'ALTER SYSTEM ARCHIVE LOG CURRENT';
BACKUP ARCHIVELOG ALL;
}

run {
allocate channel t1 device type disk;
allocate channel t2 device type disk;
allocate channel t3 device type disk;
crosscheck archivelog all;
backup as compressed backupset archivelog all format '/RMAN_BACKUP/arch/%d_Arch_Log
%t_%s_%p';
release channel t1;
release channel t2;
release channel t3;
}

md_backup /db_logs/dg_bkp

You might also like