Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle: how to demonstrate successful restore?
There are many ways to do this, it depends on what you are trying to
test. Just being able to open the database is one measure!
Here is an example of a very simple restore test for an incomplete
recovery:
Database is running in archivelog mode.
1) Perform backup of database
2) Update test table with sysdate (make sure to record the exact date
including minutes/seconds) and commit
3) Wait a certain number of minutes 4) Record sysdate 5) Update test table with new sysdate and commit 6) Shutdown database 7) Restore backups and roll forward to sysdate in step 4 8) Query test table and make sure the last updated date is the value instep 2 and not the value in step 5
For a complete recovery, verify that the test table has a last updated date found in step 5.
Regards,
Daniel Fink
Received on Wed Jan 25 2006 - 13:19:45 CST
![]() |
![]() |