Rman tablespace backup run block - oracle database script

rman tablespace 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 TABLESPACE USERS,
                  TOOLS;

release channel c1 ;

release channel c2 ;

}