In this hands-on lab, you’ll be getting familiar with the snapper command and the mechanisms that support it. You’ll setup snapper with a configuration for the root filesystem, verify the configuration and make an important setting change. You’ll then work with snapshots, viewing the differences in various ways between snapshots and the current state and then work with pre and post snapshots to undo and redo changes, such as the installation of a software package.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Configuring Snapper and Basic Snapshot Management
- Create a Snapper config for the root filesystem.
- Perform some initial snapshots, including special flags.
- Make a filesystem change and then revert to the previous state.
- Use Snapshots to Undo and Redo Changes
- Create snapshots before making editing a system file.
- Confirm changes are made using the status and diff options.
- Use the undochange option to undo and redo the edits.
- Install Packages, View and Undo Changes via Snapper
- Check to see if an rpm package is installed.
- Use zypper to install a package, observe the changes.
- Undo and then redo a package install using Snapper.