Roll back a configuration
In Apptio TBM Studio version 12.2.2 and later, it is possible to use the rollback feature in Check In History to roll back a configuration to an earlier point in time. This feature is useful for reversing changes when something has gone wrong, and is similar to the Undo All After feature in the v.11 audit log.
- Something has been checked in that is causing performance problems.
- Something was deployed to production prematurely. See Check out and check in best practices for information on how to hotfix a project if this is your reason for considering a rollback, as that may be faster.
Important considerations
- Any check ins that follow the check in you are rolling back to will be discarded. If there are changes in those check-ins that you want, you will need to re-implement those changes. See the last section of this document on how to make this easier.
- A full-stage calculation will need to run, and it may take a while depending on the project's configuration in the check in you are rolling back to.
- If existing calculations for other projects are taking place, then the calculation resulting from a rollback may be queued behind those.
Roll back a configuration
Check out and check in best practices.
- Select the document in Project Explorer.
- On the Build tab select Check In History.
- Right-click on the check in you want to roll back to and select Rollback To.
- Enter your reason for rolling back (it is recommended to be as descriptive as possible), and
then click Rollback Check In.
After the rollback, the result is displayed similar to the example below:
You can see the calculation status in the Builds tab:
Note: All check ins after the check in selected for rollback are undone with the exception of the branch closure (branch operations are exempt from a rollback). - When the build is complete, refresh any workspaces with checked-out documents. In the Home tab, select Update Workspace.
- To forcibly update the workspace, you might need to temporarily disable Auto Calculate. In the
Home tab, select Auto Calculate, then select Update Workspace, then select Auto Calculate
again.Note: Refreshing workspaces is especially important if the rollback is due to performance issues. If the documents were checked out while the suspect configuration was in play, then the user's workspace may suffer the same ill effects that first led to the rollback.
Examine something that was rolled back
After a rollback, you may want to examine what was in check ins that became undone either to debug what was causing performance issues, or to see a configuration that you want to re-implement. To do this, you would use a branch. See Check out and check in best practices to understand how to create a branch. You can branch from undone check ins. It is also possible to copy report content from a branch and paste it into checked-out documents in your workspace. In some cases, this may be desirable to minimize rework.