Rolling back a snapshot

Use the rollback option in the SLE Btrfs Snapshot Management dashboard to restore endpoints to a previous system state. The rollback feature allows you to reset system files of an endpoint that were not configured correctly by rolling back to a different snapshot.

Before you begin

Ensure that you meet the following requirements:
  • Use BigFix server and console version 9.0 or later.
  • Use BigFix client version 9.2.1 or later.
  • Use SUSE Linux Enterprise Desktop and SUSE Linux Enterprise Server 11 SP2 or later.
  • Subscribe to the Patching Support site.
  • Exclude /var/opt/BESClient/* directories from the snapshots. To exclude data directories when taking snapshots, run the Exclude Client Directories From Snapshots task. This task creates the necessary directories and files to exclude the /var/opt/BESClient/* directories when taking snapshots.

About this task

Consider the following limitations of the rollback feature:
  • Configuration changes in the directory on the bootloader cannot be rolled back.
  • Kernel installations require manual deletion of the boot entry for a Kernel. Hence, complete rollback is not possible for Kernel installations.
  • Excluded mount points and ext3 file systems cannot be rolled back.

Procedure

  1. From the Patch Management domain, click All Patch Management > Dashboards > SLE Btrfs Snapshot Management.
  2. Select the endpoint whose snapshot history you want to view.
  3. Select the snapshot that you want to roll back and click Rollback.
    Note: Completely reverting to the pre-snapshot affects the changes made by processes other than YaST or Zypper. Therefore, review the changes between the current system state and a snapshot before starting the rollback.
    The Rollback Up To Snapshot window opens.
  4. Optional: You can specify file names as additional parameters for the rollback. Click Apply.
    Note: If you do not specify any file names, all changed files are restored.
  5. From the Take Action window, select the computer and click OK to run the action.

What to do next

To verify the rollback, check the snapper_rollback.log file located at /var/opt/BESClient/EDRDeployData.