dbaascli orec latest
The orec latest
subcommand of the dbaascli
utility is used to restore the most recent backup and perform complete recovery.
You must execute this command as the root
user.
dbaascli orec --args -latest [-cfgfiles] --dbname dbname
In the above command:
-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.