Database Backup and Recovery (MOSC)

MOSC Banner

rman job to delete all backupsets (database and archive log) except the latest one.

OEL 7

Oracle database 19c.

rman job to delete all backupsets (database and archive log) except the latest one.

I've got a Linx cronjob that does an RMAN level 0 database and all archive logs backup, that runs 1 time a day.

What I'm looking for are the RMAN commands that I can use to delete all the database and archive log backups except the latest copy of each.

I think this might be a combination of RMAN retention/redundancy policy configurations, but I'm not sure how to achieve this.

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