dbaascli orec keep tag

The orec keep tag subcommand of the dbaascli utility is used to restore a specific long-term backup and perform recovery.

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

dbaascli orec --args -keep -tag backup-tag --dbname dbname

In the above command:

  • backup-tag — specifies the backup tag of the long-term backup that you want to use for the recovery operation.

  • dbname — specifies the name of the database that you want to recover.