Restoring to a previous consistent state after a failed upgrade
If the CONVERSION_GUARD configuration parameter is enabled and an upgrade fails, you can run the onrestorept command to undo the changes that are made during the upgrade and restore OneDB to a consistent state.
Before you begin
The following prerequisites must be met:
- The directory that is specified by the RESTORE_POINT_DIR configuration parameter contains the files that were stored during the failed upgrade attempt.
- The server must be offline before you run the onrestorept -y command.
About this task
To restore the server to a previous consistent state after a failed upgrade:
Procedure
What to do next
Before you attempt another upgrade, run the onrestorept -c command to remove the files in the directory that is specified in the RESTORE_POINT_DIR configuration parameter. After a successful upgrade, the server automatically deletes restore point files from that directory.