I have an RMAN script that keeps two copies of the backupset at all times. I have a space issue at the moment and I can only hold one backupset.
How do I get RMAN to delete all the backupsets first and then take a backup? Is there something I can do with the REDUNDANCY parameter? It would not let me set it to zero.
I am in Oracle 126.96.36.199 on Solaris. Here is my current RMAN script.
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT = '$BKUPDIR/full_%d_%Y%M%D_%s';
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '$BKUPDIR/cf_%d_%F';
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '$BKUPDIR/snapcf_@.f';
CONFIGURE DEFAULT DEVICE TYPE TO DISK;
CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
delete noprompt obsolete;
backup database plus archivelog delete input tag='$TAG';
Click Here to Expand Forum to Full Width