Reverting to the previous version of a solution

You can revert the current version of a solution to the previous version by running the solutionManager revert command. This command sets the previous version as the active solution version.

About this task

Use the solutionManager revert command to restore the current version of a solution back to its previous state. The revert command restores both the previous, full solution version and the state of associated agents. The server must be running when you run the solutionManager revert command.

In a production environment with multiple servers, you can set the value of the solutionAutoStart property to false so that you can install a solution on each server before activating the solution by running the solutionManager activate command. If you deploy a solution with the AutoStart setting turned off, the solution is added to the server but the solution is not active. While the solution is inactive, if you discover a problem with the solution and decide not to activate it, run the solutionManager revert command to set the previous solution version as the active version.

If the solutionAutoStart property is not set, or if it is set to true, then the revert has no effect. As soon as you deploy a solution, it starts and becomes the active version. When you shut down and restart a server, the version of the solution that is active at the time of the shutdown is the active solution version when the server restarts.

Procedure