Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
FREEDOM251

Freedom251 › Blog › Btrfs

How to Roll Back a Failed Linux Update with Snapshots

By Freedom251 Team · · 13 min read

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If a Linux update leaves the system unbootable or breaks essential software, you may be able to return to a snapshot created before the update. The exact method is distribution-specific. This guide documents the supported openSUSE Leap 15.6 with Snapper workflow: boot a listed read-only snapshot, verify that it is the state you want, run sudo snapper rollback, and reboot. It works only when a suitable pre-update snapshot, compatible filesystem and subvolume layout, and a bootloader that can load snapshots are already in place.

What a snapshot rollback can—and cannot—do

A snapshot records the state of selected filesystem data at a point in time. When an update changes files, the snapshot continues to reference the old blocks while the live system writes new ones. Rolling back makes an earlier root state the basis of a new writable system on configurations that support that operation.

As an Amazon Associate I earn from qualifying purchases.

It is not a universal Linux feature. Btrfs by itself does not create snapshots, add snapshot entries to a boot menu, or configure Snapper. Your distribution must set up the filesystem, Snapper configuration, snapshot cleanup, and bootloader integration correctly.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

You also cannot create a pre-update state after the fact. If no snapshot predates the failed update, this procedure has nothing to restore. Use package-manager recovery, a rescue environment, or a separate backup instead.

#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter | 4Pack Type C Female to A Male Cable Converter for Apple Duo 17 16 15 14 Plus,iWatch Watch 12 11 10,iPad 9 8 Air,Airpods 5 4
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.

A rollback is a system-state operation, not a package-by-package undo list. It may return libraries, kernels, services, and configuration files under the snapshotted root to an earlier state, but it does not necessarily reverse database migrations, changes on another mounted filesystem, or files deliberately excluded from the snapshot.

Check these prerequisites before attempting rollback

  • A snapshot from before the failure: identify its date and, if available, the update or maintenance event it precedes.
  • A supported layout: the openSUSE Leap 15.6 procedure expects a Btrfs root subvolume configured for Snapper rollback. Other subvolumes are not automatically reverted with the root.
  • A working bootloader: you must be able to reach the bootloader menu and select a bootable, read-only snapshot entry.
  • Enough free space: snapshots share the source partition or subvolume. As files change, additional blocks are retained for snapshots, so space use can increase.
  • A recovery plan for data: copy important personal files to a separate backup destination before making changes. A snapshot on the same partition is not an independent backup.

On the default openSUSE arrangement described in its Leap 15.6 documentation, the root-partition setup uses an approximate 16 GB threshold. That is a version-specific configuration note, not a general Linux or Btrfs requirement. Custom installations may need substantially more room for packages, logs, kernels, and retained snapshots.

Before rebooting, write down the update that failed, the first symptom, and any files or databases changed afterward. If the machine still boots, copy irreplaceable data while it is accessible. If it does not, avoid repeatedly mounting and modifying the affected system until you know which recovery path your distribution supports.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If the machine cannot reach its boot menu, the menu has no snapshot entries, or your root filesystem and subvolumes do not match the distribution’s documented setup, stop before issuing commands copied from this guide. Consult your distribution’s current documentation for its rescue process.

The documented openSUSE Leap 15.6 Snapper workflow

The following sequence is the procedure described for the default openSUSE Leap 15.6 arrangement. Menu wording can differ with bootloader themes or installation choices, but the decisions are the same.

1. Reboot to the bootloader menu

  1. Save work and reboot the computer.
  2. At the bootloader, choose the entry for bootable or read-only snapshots. On an installation using the documented setup, snapshots are listed separately from the normal system entry.
  3. Review the dates. The newest listed snapshot appears first, so move through the list until you find one created before the update that caused the problem.

Do not assume the newest snapshot is good: it may have been created during or after the failed update. Select a snapshot whose date clearly precedes the first symptom. If several snapshots qualify, start with the most recent one that is known to be healthy; it usually minimizes the amount of configuration and data you must reconcile.

2. Boot the candidate snapshot for inspection

  1. Select the dated snapshot and boot it.
  2. Check the behavior that matters: can the graphical session start, do required services run, and can you launch the application or command that failed?
  3. Remember that this boot is a test state. The directories represented by the snapshot are read-only, so changes you make while inspecting it do not turn it into the new writable root.

Test enough to distinguish a system-state problem from a separate hardware, network, account, or data problem. Check the kernel and desktop, verify network access if the original failure involved networking, and inspect the affected service’s logs without treating temporary troubleshooting changes as permanent fixes. If the candidate does not fix the issue, reboot and try another pre-update snapshot or use a rescue system.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Sale
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter | USB C Dongle with 90W Max Power Delivery, 3×5Gbps USB A Data Ports, for MacBook, Dell, and More (Charger Not Included)
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.

Do not run a full update while testing a read-only snapshot. Installing packages or editing configuration there can fail, produce misleading results, or obscure which state you actually tested. The purpose of this boot is comparison and validation.

3. Make the inspected state the new default root

  1. When the candidate snapshot is the state you want, open a terminal in that session.
  2. Run sudo snapper rollback.
  3. Wait for the command to complete. Snapper creates a fresh read-write snapshot based on the selected state. The state that was running before rollback is snapshotted as well, which gives you a way to inspect it later.
  4. Reboot and select the normal default boot entry, not the temporary read-only snapshot entry.

After reboot, the system should start from the new writable root. The old state remains represented by a snapshot until normal cleanup or manual deletion removes it; check available space before retaining many large snapshots. The newly created root is not simply an in-place conversion of the read-only entry: Snapper promotes the selected state by creating a writable successor and arranging the default boot target accordingly.

If the command returns an error, record the complete message and stop. Errors about a missing configuration, unsupported filesystem, or unexpected subvolume are signs that the documented layout does not match your machine, not invitations to guess at options.

4. If the candidate was wrong

If the snapshot did not solve the problem, reboot into the current state and try a different dated snapshot. You can also boot a rescue system and follow the distribution’s documented recovery instructions. Do not improvise a snapper rollback command on a different distribution, custom subvolume arrangement, or unsupported filesystem: the command’s result depends on that configuration.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What openSUSE’s rollback does not restore

OpenSUSE’s documentation explicitly warns: “A complete system rollback, restoring the complete system to the identical state as it was in when a snapshot was taken, is not possible.” Treat the operation as a root-system rollback with defined boundaries, not as an undo button for every disk change.

Excluded directories and other subvolumes

Root snapshots exclude some directories. Data stored in excluded paths, or in separate subvolumes, can remain at its newer state. The supported procedure rolls back the configured root subvolume; it does not automatically rewind every mounted filesystem. Home directories, logs, virtual-machine images, container storage, and databases may therefore need separate review, depending on the installation’s subvolume map.

Applications split across paths

An application may place its program files in an included root path and its configuration, cache, or data in an excluded path. Reverting only one side can leave the application unable to start or behaving inconsistently. Package managers can also have recorded an installation in one state while files on another subvolume remain newer.

Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter | 85W Max PD, 2 USB 3.0 & 1 USBC Data Ports, SD/TF Card Reader, for Laptops/Mac and Other Type C Devices (Charger Not Included)
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

Permissions and ownership

Files can retain changes in permissions or ownership. A snapshot rollback should therefore be followed by an inspection of service accounts, access rights, and any security-sensitive files instead of assuming metadata exactly matches the earlier moment.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Data formats and mixed versions

A newer application may have converted a database or other data into a format that an older application cannot read. Rolling back the binaries does not necessarily convert that data back. Mixed code and data versions can cause failures even when the root filesystem appears healthy. Do not delete the newer state until you have confirmed that required data opens and that you have a separate copy of anything irreplaceable.

Bootloader data

Bootloader data is not rolled back as ordinary root content because its stages must remain compatible with one another. A rollback therefore does not promise that every bootloader component is identical to its snapshot-era version.

Before deleting any newer snapshot, preserve files and databases you still need. Confirm that applications open their data, services start, and mounts and permissions are correct. A successful login is only an initial check, not proof that every workload was restored.

Snapshots are not backups

In the documented setup, snapshots live on the same partition or subvolume as the captured state. They initially reference the same blocks; as the live system changes, blocks needed by older snapshots are retained. Consequently, deleting a file from the current system may not free its space while a snapshot still references the old blocks.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Plan capacity and monitor snapshot growth. Retention and cleanup policies can remove older snapshots, so do not treat a long-lived snapshot as guaranteed archival history. For important personal files, use an independent destination such as an external SSD for Linux backups or another separate backup drive. That protects data if the source partition fails; it does not replace the Snapper rollback procedure. No physical product or paid service is required to perform the rollback itself; the requirement is compatible software and configuration.

Why the same instructions do not apply to every Linux distribution

Compare a distribution’s actual implementation on five separate questions: are snapshots made automatically before package updates; can the installed bootloader boot one; which filesystem and subvolume layout is supported; does rollback create a writable default root; and which paths are excluded?

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray | Data transfer & Fast charging for MacBook, iPhone 17/16/15, iPad, Samsung Galaxy, Apple Watch
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
Implementation example Automatic pre-update snapshots Snapshot boot and rollback details Filesystem/layout qualification Historical or current scope
openSUSE Leap 15.6 documented setup Depends on the configured Snapper and distribution setup; verify that snapshots exist before relying on them. The bootloader lists read-only snapshots; after inspection, sudo snapper rollback creates a fresh read-write default root. Btrfs root subvolumes and a functioning bootloader are prerequisites for the documented workflow; excluded directories and other subvolumes are outside the root rollback. Current procedure for the Leap 15.6 reference described here.
Fedora Btrfs-by-default proposal The proposal said there would be no automatic snapshots or rollbacks. Do not infer a snapshot boot menu or Snapper rollback from the proposal. It described /boot remaining a small ext4 volume. Targeted Fedora 33; proposal last updated 2021-02-03, so it is historical context rather than current release instructions.
Ubuntu Focal Snapper manual Not established as an automatic update mechanism by the cited older manual. The manual states that rollback requires proper configuration; it does not establish a universal Ubuntu boot-menu workflow. Its concise requirement is that rollback is supported only with Btrfs and a properly configured system. Older, version-specific documentation; check current Ubuntu guidance before acting.

The comparison illustrates why “the system uses Btrfs” is not enough. A distribution may use Btrfs without automatic snapshots, without bootloader entries, or without a layout that Snapper can safely promote to the default root. Ext4, XFS, encrypted-volume arrangements, and custom subvolume maps may require entirely different tools or may not support bootable snapshots at all.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshoot by the symptom you see

The boot menu has no snapshots

First verify that snapshots actually exist and that the bootloader integration was installed and enabled. If there are no dated entries, the system may not have created snapshots before the update, or the installation may use a layout that cannot boot them. Do not create a new snapshot now and call it a pre-update restore point; it captures the already-failed state.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The machine never reaches the bootloader

The documented route requires a functioning installed bootloader. If firmware errors, disk damage, or an overwritten bootloader prevent the menu from appearing, this guide does not establish a universal repair command. Use your distribution’s rescue media and bootloader-repair documentation, then reassess whether the original snapshot remains usable.

The snapshot boots but the application is still broken

Check whether the application stores data or configuration outside the snapshotted root, whether a database was upgraded to a newer format, and whether ownership or permissions changed. The failure may be in an excluded path or in external data rather than in the rolled-back binaries.

Rollback reports a configuration or subvolume problem

Stop and identify the actual Snapper configuration, root subvolume, and filesystem. A command copied from the openSUSE layout can be unsafe on a custom arrangement. Restore files from an independent backup or follow the distribution’s documented recovery procedure instead of forcing a root switch.

Free space is unexpectedly low

List and review retained snapshots and their cleanup policy. Changed blocks remain in use while snapshots reference them, so removing files from the live system may not reduce consumption. Preserve any snapshot needed for recovery, then remove only snapshots you have verified are no longer required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The computer boots, but the default entry is unchanged

Make sure you rebooted after the rollback and selected the ordinary default entry rather than repeatedly selecting the read-only snapshot. If the normal entry still starts the failed state, do not delete snapshots or rerun commands blindly; inspect the bootloader and Snapper configuration using your distribution’s instructions.

Best Value
Sale
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display | 85W Max PD, 1 Powered USB-C 5Gbps & 2 Powered USB-A 3.0 5Gbps Data Ports, for MacBook Pro, MacBook Air, Dell and More (Black)
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

After a successful rollback

  1. Confirm that the normal boot entry now starts the writable system, rather than leaving the machine dependent on a read-only snapshot entry.
  2. Check the failed service, desktop session, or package that motivated the rollback.
  3. Review mounts, permissions, ownership, and service-account access.
  4. Open application data and databases, paying attention to formats changed by the failed update.
  5. Copy irreplaceable files to an independent backup destination.
  6. Record which snapshot was promoted and why, so later cleanup does not remove the recovery point prematurely.
  7. Investigate the update that caused the regression before applying it again; a rollback restores an earlier state but does not fix the underlying package defect.
  8. When you are confident the system is stable, review cleanup rules and remove only obsolete snapshots. Keep at least one known-good recovery point if capacity permits.

Safe operating rules for future updates

  • Check that your distribution creates snapshots when you expect it to and learn where the bootloader lists them.
  • Keep enough free space for snapshot growth and understand the cleanup policy.
  • Separate system rollback from personal-data backup; use an independent drive or destination for the latter.
  • Know which directories and subvolumes are excluded before relying on rollback for an application.
  • Document your filesystem and bootloader layout, especially after custom partitioning or migration.
  • Read current distribution documentation when commands, menu labels, or Snapper versions differ from openSUSE Leap 15.6.
  • For major upgrades, note the last known-good snapshot and test critical applications soon afterward, while the relevant snapshots are still retained.

For an openSUSE Leap 15.6 system that meets the stated prerequisites, the practical sequence is: boot a dated pre-failure snapshot, inspect it read-only, run sudo snapper rollback, and reboot to the default entry. Everywhere else, confirm the distribution’s own snapshot, filesystem, subvolume, and bootloader design before treating a snapshot as a rollback path.

Frequently Asked Questions

Can I roll back if no snapshot was created before the update?

No. A new snapshot records the already-failed state and cannot recreate the earlier system. Use package-manager recovery, rescue media, or an independent backup instead.

Does a Linux snapshot restore the entire computer?

No. In the documented openSUSE workflow, the configured root subvolume is rolled back. Excluded directories, other subvolumes, bootloader data, permissions, and application data formats may remain different.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Is Btrfs enough to guarantee a rollback menu?

No. Btrfs does not automatically create snapshots or add bootloader entries. Snapper configuration, supported subvolumes, retention settings, and bootloader integration must all be present.

What does sudo snapper rollback do on openSUSE Leap 15.6?

After you boot and inspect a read-only snapshot, it creates a fresh read-write snapshot based on that state, snapshots the previously running state, and sets the new state as the default after reboot.

Why is the application still broken after rollback?

Its data or configuration may be outside the rolled-back root, a database may have a newer format, or ownership and permissions may have changed. Check those boundaries before assuming the snapshot failed.

Are Snapper snapshots a substitute for an external backup?

No. They share the source partition or subvolume and can be lost with it. Keep important files on an independent destination such as a separate backup drive or external SSD.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How much disk space does rollback require?

There is no universal amount. Snapshot growth depends on changed blocks, retained snapshots, package volume, and layout. The approximately 16 GB figure in the openSUSE Leap 15.6 default description is version-specific, not a general requirement.

Can I use this exact procedure on Ubuntu, Fedora, or a custom Btrfs installation?

Do not assume so. Older Ubuntu documentation requires Btrfs and proper configuration, while a historical Fedora proposal did not provide automatic snapshots or rollbacks. Follow the current documentation for your exact distribution and layout.

The Bottom Line

On a correctly configured openSUSE Leap 15.6 system, boot a read-only snapshot dated before the failed update, verify it, run sudo snapper rollback, and reboot to the normal default entry. Treat the result as a bounded root rollback—not a complete backup—and verify excluded data, application formats, permissions, bootloader behavior, and free space afterward.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

BtrfsLinuxLinux UpdatesopenSUSESnappersystem recovery

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.