Rman datafile(s) backup run block - oracle database script

RMAN datafile(s) backup run block - Oracle Database Script.

configure CONTROLFILE autobackup ON;

configure CONTROLFILE autobackup format
FOR device TYPE disk TO '/archiva/backup/%F';

configure maxsetsize TO
UNLIMITED;

configure device TYPE disk parallelism 4;

run { ALLOCATE channel c1 TYPE disk format '/archiva/backup/%I-%Y%M%D-%U' maxpiecesize 3G;

ALLOCATE channel c2 TYPE disk format '/archiva/backup/%I-%Y%M%D-%U' maxpiecesize 3g;

BACKUP DATAFILE 3,
                4;

release channel c1 ;

release channel c2 ;

}