Database :: changeRecovery - Enable/disable recovery support
This function allows you to enable or disable the recovery support for the opened database. In order to disable recovery support one may pass NoRecovery in eRecoveryType. For enabling recovery support one may pass FullRecovery or TransactionRecovery. Recovery support should be enabled immediately after the latest backup.
Implementation details
Database  :: changeRecovery ( odaba::RecoveryTypes eRecoveryType, odaba::String &sRecoveryPath )
- eRecoveryType - Type of recovery support
- sRecoveryPath
- Location for recovery folder path
The recovery folder path points to a folder that contains the recovery files. The folder has been defined when creating the recovery file. (Database::initializeRecovery()).