denrepo

OracleBackup & recovery

Guaranteed restore point for a release

Create one before a risky change so you can flash the whole database back. Drop it as soon as the change is signed off.

Changes data

Not yet verified. How scripts are tested

This script changes the database. Check the names and values before you run it.
ora-restore-point.sql
1-- Before the change2CREATE RESTORE POINT before_release GUARANTEE FLASHBACK DATABASE;3 4-- After the change is confirmed good (run separately)5-- DROP RESTORE POINT before_release;

Save it as ora-restore-point.sql and run it with SQL> @ora-restore-point.

Open in denrepo

More Oracle scripts: Backup & recovery