dbaascli orec pitr

The orec pitr subcommand of the dbaascli utility is used to restore a specific normal backup and perform recovery.

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

dbaascli orec --args -pitr backup-tag [-cfgfiles] --dbname dbname

In the above command:

  • backup-tag — specifies the backup tag of the backup that you want to use for 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.