0% found this document useful (0 votes)
29 views2 pages

Flashback A Database

This document provides instructions for flashing back an Oracle database to a previous restore point using the FLASHBACK DATABASE command. It shows how to check for existing restore points, flashback the database to a selected restore point, open the database with a resetlogs after flashback, and then disable the flashback feature.

Uploaded by

Jabras Guppies
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views2 pages

Flashback A Database

This document provides instructions for flashing back an Oracle database to a previous restore point using the FLASHBACK DATABASE command. It shows how to check for existing restore points, flashback the database to a selected restore point, open the database with a resetlogs after flashback, and then disable the flashback feature.

Uploaded by

Jabras Guppies
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

FLASHBACK A DATABASE

1. Check for a restore point. sqlplus / as sysdba SQL> select name, scn, time, guarantee_flashback_database from v$restore_point; NAME -------------------------------------------------------------------------------SCN ---------TIME GUA --------------------------------------------------------------------------- TESTING_STARTS 7.1445E+10 08-MAY-12 07.06.40.000000000 AM YES 2. Flashback the database to the restore point. SQL> shutdown immediate Database closed. Database dismounted. ORACLE instance shut down. SQL> startup mount ORACLE instance started. Total System Global Area 2689060864 bytes Fixed Size 2229520 bytes Variable Size 1996491504 bytes Database Buffers 671088640 bytes Redo Buffers 19251200 bytes Database mounted. SQL> FLASHBACK DATABASE TO RESTORE POINT TESTING_STARTS; Flashback complete. SQL> alter database open resetlogs;

Database altered. 3. Disable flashback. SQL> alter database flashback off; Database altered. SQL> select flashback_on from v$database; FLASHBACK_ON -----------------NO

You might also like