Database Backup and Recovery (MOSC)

MOSC Banner

remove backup and archive older tha 2 days automatically.

edited Dec 16, 2013 4:23AM in Database Backup and Recovery (MOSC) 7 commentsAnswered
i Have Scedule rman for a database(11.1.0.7) using below script.

CONFIGURE DEVICE TYPE DISK PARALLELISM 8 BACKUP TYPE TO BACKUPSET;
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT   '/VIS/CRP2B_INST/oracrp2b/RMAN_Hot_Backup/Backup_storage/%d_full_t%t_s%s_p%p';
RUN
{
    BACKUP AS compressed backupset filesperset 8 DATABASE TAG DAILY_HOT_BACKUP;
    BACKUP AS compressed backupset CURRENT CONTROLFILE TAG CONTROL_FILE;
}


I want to delete backup older than 2 days .Currently i using delete obsolete redundancy=2; for delettion manually But when i delete old backup contain last day backup pieces also .



I want to complete two days backup and archive both.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center