|
Oracle Home |
|
Home > Oracle Database Administration (DBA) > Backup & Recovery > How to validate a backup |
|
Oracle Database 10g Administration (DBA): Backup and Recovery |
|---|
How to validate a backup |
|
Note: The article ( named How to validate a backup ) was taken from www.in-oracle.com.
1. Validating a logical export (taken using exp utility)
First we have to take a look to the export log file. Also, we can import the data in another database to see if the import is done without errors.
In this case we have to validate the .dbf files. This is done by using DBVERIFY Utility.
Total Pages Examined: Number of blocks in the file Total Pages Processed: Number of blocks verified Total Pages Failing: Number of blocks that failed the data/ index/ segment block check Total Pages Marked Corrupt: Number of corrupted blocks Total Pages Influx: Number of blocks being read and written to in parallel.
3. Validating a RMAN backup (using the Backup Sets)
a) RMAN> RECOVER DATABASE VALIDATE;
If there are no errors during the recovery ... validate, the backup is good. This command (recovery database validate) doesn't recover the database; only the check is done.
b) RMAN> VALIDATE BACKUPSET <backupset_nr>
To find the backup set of the backups we can run the RMAN command LIST BACKUP;
c) using RMAN report options, like REPORT UNRECOVERABLE DATABASE; (examine all datafiles, but not the archivelog files !!!)
Note: The article ( named How to validate a backup ) was taken from www.in-oracle.com.
|
|
Home > Oracle Database Administration (DBA) > Backup & Recovery > How to validate a backup |
|
Different Romanian Links/ Linkuri romanesti diferite |
Disclaimer: The views expressed on this web site are my own and do not reflect the views of Oracle Corporation. You may use the information from this site only at your risk. Copyright (c) 2009-2011 Paul Catalin Tomoiu. All rights reserved.