Create an oracle Restore Point and restore the database to the specified Restore Point

Source: Internet
Author: User

To implement the Restore point function of the Oracle database, the Oracle database must run in archivelog mode and be enabled
Flashback logging.

 

Procedure:

1. Shut down the Database Service: shutdown immediate;

2. Start the Database Service and mount:
Startup Mount;

3. Transfer the database to archievelog mode: Alter database archivelog;

4. Enable flashback logging: Alter database flashback on;

5. Open the database connection: Alter database open;

6. Create restore point: Create Restore Point restore_point_1;

7. modify some data at will

 

Before restoring data to the Restore point, you must restart the database to the Mount mode.

1. Shut down the database: shutdown immediate;

2. Start the database to the Mount mode: startup Mount;

3. Restore the database to restore_point_1: flashback database to restore point qa_gold;

 

Open the database and check whether the database data has been recovered.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.