How to design snapshots in openSUSE with YaST2 – Guide

With openSUSE, snapshots are a great way to revert to a previous configuration or fix an issue. Jack Wallen walks you through the process. ..

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.

  1. The current system
  2. The last known good state of the system
  3. A snapshot of the live system on a specific day or time
  4. A snapshot of a specific application or package

A computer’s first file system is the root file system, which is the most important and fundamental part of the operating system. The root file system contains all of the files and directories that are used by the operating system. ..

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

Figure A: The YaST2 – YaST File System Snapshots window. To create a new snapshot, click the New button and enter a name for the snapshot (Figure B). Figure B: The New snapshot window. To view or edit an existing snapshot, click its name in the list (Figure C). Figure C: The snapshot window. ..

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).

Figure D: The test listed has changed since the snapshot was taken. ..

If you select this file, you can click Remove to delete it. However, if we make a change to the smb.conf file, we’ll see the change 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:

  1. 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 on the openSUSE website. If you want to create a snapshot for an older release or if you have specific questions about which release is right for your system, please consult our support page or speak with one of our technical advisors.
  2. 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 your changes work on an existing system before making them live. Production snapshots are used to store important data and settings in a persistent form so that they can be restored later if needed.