Before applying changes to a server, backup the state of the server in a <SERVER_HOME>.update.old folder. The backup is done using hardlinks if the file system allows it to save disk space.
If the update fails due to IOException, we try and restore the server state. If the update is interrupted, either by the user or a program crash, the original state will be available for the user to perform manual restore.
Before applying changes to a server, backup the state of the server in a
<SERVER_HOME>.update.old
folder. The backup is done using hardlinks if the file system allows it to save disk space.If the update fails due to IOException, we try and restore the server state. If the update is interrupted, either by the user or a program crash, the original state will be available for the user to perform manual restore.