How to design snapshots in openSUSE with YaST2 – Guide
Snapshots are a simple way to roll back configuration errors and different issues. With openSUSE, working with snapshots is incredibly simple. Jack Wallen shows you how.
OpenSUSE is a Linux distribution that is well-known for its excellent features and its ability to take advantage of the latest technologies. This makes it an ideal choice for desktop use cases, as it snapshot your system in a way that makes it easy to use.
What are snapshots?
Before we dive into this, you might be wondering what these snapshots are. Think of it this way: A snapshot is a snapshot of the time on your computer’s file system that you’ve saved if something goes wrong. If this inevitably happens, you can revert the file system to an earlier state. In simpler terms, it’s a backup.
- The current system
- The last known good state of the system
- A snapshot of the live system on a specific day or time
- A snapshot of a specific application or package
The first root file system is the operating system installation. This is the location where your computer’s files and programs are stored. It is also where your computer’s registry and other important files are located.
When making a change to your system, always create a snapshot first to avoid any potential problems. ..
What do you need
OpenSUSE Leap is a new release of openSUSE that includes a new kernel and updated software. To install it, you need a running openSUSE instance and Tumbleweed. If you want to use Leap, you need to install the static release of openSUSE.
How to create a snapshot with YaST2
Click on the Snapper tab and select the snapshot you want to work with. Click on the Snapshot Properties button to change some of the snapshot properties. Click on the Close button to close YaST2 and Snapper.
Figure B: The Create Snapshot Window In the Name field, type a memorable name for the snapshot. In the Description field, type a brief description of what the snapshot captures. Click on the Create button. When you create a snapshot, Windows takes a copy of your current system configuration and stores it in a file named “snapshot_name.wim” on your hard drive. You can use this file to restore your system to its state at any point in time by selecting it from the list of available snapshots in the System Configuration window (Figure C). Figure C: The System Configuration Window Showing Available Snapshots ..
If you want to focus a snapshot on data for a specific user, you can add the username in the User Data field; otherwise, you can leave everything else blank and click OK. Now that you’ve taken a snapshot, let’s try it out. Open a terminal window and run the command: What you did there was create a new (empty) file in the / etc folder called testing. As this was done after the snapshot, it must be chosen up. Let’s find out. Select the new snapshot from the list and click View Changes. In the new window you should see etc (Figure C).
The test in Figure D has changed since the snapshot was taken.
If you select this file, you can see the changes that were made to it since the last time it was selected. If you make a change to the smb.conf file and then select this snapshot, you’ll see the new version of the file in the list (Figure E). ..
If you want to revert to a previous snapshot in OpenSUSE, it’s easy to do. And if you ever need to restore a specific snapshot, it’s easy to do too. This is one of those tools you hope you never have to use, but you’ll be grateful it’s there if the opportunity arises.
Final note
OpenSUSE YaST2 snapshot design guide In this OpenSUSE YaST2 snapshot design guide, we will show you how to create snapshots in OpenSUSE using YaST2. First of all, let’s take a look at the basic steps for creating snapshots:
- Choose the desired OpenSUSE release and architecture To create a snapshot of OpenSUSE, you need to choose a desired release and architecture. You can find the list of available releases and architectures on the openSUSE website. If you want to create a snapshot for an older release or if you have specific questions about which release or architecture is best for your needs, please consult our support team.
- Choose the desired snapshot type There are three types of snapshots: live, test, and production. Live snapshots are used to keep your system up-to-date with the latest changes in the software while testing it on a different machine or environment. Test snapshots are used to check whether some changes in the software work as expected on a specific machine or environment. Production snapshots are used to store data that is important for running applications or services in OpenSUSE but may not be subject to regular security updates or bug fixes. To choose which snapshot type to create, use the following steps: 2) Select an appropriate target platform (x86_64/x86_64-linux-gnu on x86_64 systems) 3) Choose an appropriate storage backend (ext4 on x86_64 systems) 4) Choose an appropriate time zone (UTC on x86_64 systems) 5) Choose an appropriate language (English on English systems) 6) Select an appropriate locale (en_US locale on English systems) 7) Select an appropriate keyboard layout (US English keyboard layout on English systems) 8) Select an appropriate video driver (NVIDIA GeForce GTX 460/470/480/490/500 series