RMAN "restore... Validate [header]" Lists Full Or L0 Backups Only
Last updated on OCTOBER 10, 2014
Applies to:Oracle Database - Enterprise Edition - Version 220.127.116.11 and later
Information in this document applies to any platform.
Two RMAN commands were run:
1. restore database until time 'sysdate' preview
2. restore database until time 'sysdate' validate header
According to Oracle doc, they both should produce the same output, but VALIDATE HEADER shows full or level 0 backups only.
Validate header does Reports and validates—but does not restore—the backups that RMAN could use to restore to the specified time.
According to Oracle Documentation:
Oracle® Database Backup and Recovery User's Guide
11g Release 2 (11.2)
Part Number E10642-05
17 Performing Complete Database Recovery
Preparing for Complete Database Recovery
Previewing Backups Used in Restore Operations
As an alternative to RESTORE ... PREVIEW, you can use the RESTORE ... VALIDATE HEADER command.
In addition to listing the files needed for restore and recovery, the RESTORE ... VALIDATE HEADER command
validates the backup file headers to determine whether the files on disk
or in the media management catalog correspond to the metadata in the RMAN repository.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms