dbaascli orec scn

The orec scn subcommand of the dbaascli utility is used to restore the most recent backup and perform recovery through the specified system change number (SCN).

Connect to the compute node as the opc user and execute this command as the root user.

dbaascli orec --args -scn SCN [-cfgfiles] --dbname dbname

In the above command:

  • SCN — specifies the system change number (SCN) for the end point of the recovery operation.

  • -cfgfiles — optionally directs that any system and database configuration files included in the backup are also restored. Without this option, only the database is restored.
  • dbname — specifies the name of the database that you want to recover.