Rman incremental db backup run block script - oracle database script

RMAN incremental db backup run block script - Oracle Database Script.

configure BACKUP optimization ON;

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;

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

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

BACKUP AS compressed backupset incremental LEVEL 1 CHECK logical DATABASE plus ARCHIVELOG;

release channel c1 ;

release channel c2 ;

release channel c3 ;

release channel c4 ;

}