Public feed
#887695
# Execute Recovery Manager on local database as privleged user
rman target / <<EOF >> $LOGFILE
# Compare the control file list of backup files with what is actually on the sys
tem via rman
crosscheck backup;
# Compare the archive log list against what is actually on the system.
crosscheck archivelog all;
delete noprompt expired archivelog all;
run {
allocate channel t1 type disk format "$BACKUPDIR/cti.%U";
backup as compressed backupset database;
backup as compressed backupset archivelog all;
backup as compressed backupset current controlfile tag='controlfile';
backup as compressed backupset spfile tag='spfile';
}