Skip to main content
Version: 3.7.x.x LTS

Rollback to an old revision

For emergency situations, e.g., if somebody has deleted a configuration object, an old revision may be loaded into nevisAdmin.

This can be done by the revert and the revert-env commands of the nevisAdmin shell script. The revert command reverts the entire repository to an earlier revision while the revert-env command only reverts the given environment configuration to a previous state.

note

The revert command deletes all repository changes made since the specified date by restoring the CVS repository.

In order perform the rollback, follow these steps:

  1. Stop the nevisAdmin instance:

    # nevisadmin stop
  2. Execute the nevisadmin revert or nevisadmin revert-env command:

    # nevisadmin revert
  3. Provide all necessary information for reverting (revision and/or environment name).

  4. Start the nevisAdmin instance:

    # nevisadmin start
note

The Rollback button (within the environment's loadable revisions table) is not recommended to be used anymore. Instead, use the above described revert and the revert-env commands.

The reason for this is that the Rollback button is faulty: It can break the repository or introduce some unwanted changes to other environments.

As of nevisAdmin, v3.6.4.0 and later, we recommend disabling the Rollback button (within the environment's loadable revisions table) because of high memory load. Another reason is the often undesirable effect on the involved infrastructure components. Set the ch.nevis.nevisadmin.gui.op.environment.load.revisions.hide=true property to do so.