Configuring for recovery of restore point data in case an upgrade fails
By default, the CONVERSION_GUARD configuration parameter is enabled and a temporary directory is specified in the RESTORE_POINT_DIR configuration parameter. These configuration parameters specify information that Informix® can use if an upgrade fails. You can change the default values of these configuration parameters before beginning an upgrade.
Prerequisites: The directory specified in the RESTORE_POINT_DIR configuration parameter must be empty before the upgrade begins, but not when recovering from a failed update.
After a failed upgrade, do not empty the RESTORE_POINT_DIR directory before you attempt to run the onrestorept utility. The server must be offline after a failed upgrade.
You
can change the value of the CONVERSION_GUARD configuration parameter
or the directory for restore point files before beginning an upgrade.
The default value for the CONVERSION_GUARD configuration parameter
in the ONCONFIG file is (2
), and the default
directory where the server will store the restore point data is $INFORMIXDIR/tmp.
You must change this information before beginning an upgrade. You
cannot change it during an upgrade.
To change information:
If the CONVERSION_GUARD configuration parameter is set
to 1
and an upgrade fails, you can run the onrestorept utility
to restore the Informix instance
back to its original state just before the start of the upgrade.
If the CONVERSION_GUARD configuration parameter is set to 1
and
conversion guard operations fail (for example, because the server
has insufficient space to store restore point data), the upgrade to
the new version will also fail.
If any restore point files from a previous upgrade exist, you must remove them before you begin an upgrade.
Even if you enable the CONVERSION_GUARD configuration parameter, you should still make level 0 backup of your files in case you need to revert after a successful upgrade or in case a catastrophic error occurs and you cannot revert.