Using Timeshift to roll back your Ubuntu system after a bad update

The workflow for using Timeshift to roll back your Ubuntu system after a bad update is most useful when an update leaves the computer unable to boot, frozen at a boot screen, or unable to reach the login screen. Timeshift records recovery points for the operating system, allowing you to return to a known-good state without reinstalling Ubuntu. It is particularly handy for home users and small organisations without another operating system installed.

Timeshift is a recovery tool, not a complete backup system. It mainly preserves operating-system files, installed packages, and system configuration, while personal files under your home directory usually remain untouched. Understanding that boundary before you begin helps you avoid restoring an older system state and then discovering that the document you needed was never included in the snapshot.

What Timeshift restores

Timeshift creates sequential restore points using one of two methods. RSYNC mode works with ordinary Ubuntu filesystems such as ext4, making the first snapshot larger and later snapshots more efficient. Btrfs mode uses native filesystem snapshots, but it only works when Ubuntu has a compatible Btrfs layout, which is uncommon on a standard installation.

A snapshot normally records system directories, package state, boot files, and configuration under locations such as /etc. It does not normally include /home, so documents, browser profiles, downloads, and many application settings will not be reversed. This separation makes system recovery faster while reducing the risk of overwriting recently created work.

Restoring a snapshot on the same drive is useful after a failed package upgrade or driver installation. It is not protection against a failed disk, stolen computer, accidental deletion, or ransomware that also targets the snapshot storage. Important files should still be copied to an external drive or an authorised cloud service.

Prepare Ubuntu before taking snapshots

Begin with a healthy system. If Ubuntu currently starts correctly, update the package lists with sudo apt update, review pending changes, and install any required updates before creating your baseline. A snapshot taken from an already faulty installation may simply preserve the fault you are trying to remove.

Check the available disk space with df -h and confirm your root filesystem with findmnt /. Timeshift normally stores snapshots on the root filesystem, and the first full snapshot can consume several gigabytes. A family desktop in Sydney or Melbourne may already contain large downloads, virtual machines, and games, so free space before asking Timeshift to create another restore point.

Connection reliability matters during preparation. A fixed NBN plan is generally stable, while some regional Fixed Wireless, 4G, and 5G connections may be less consistent. Avoid starting a major update during an unstable link or while the power is likely to fail. Summer storms and heat in Adelaide or Brisbane also make a surge-protected power supply and a fully charged laptop battery sensible precautions.

Install Timeshift on Ubuntu

On most supported Ubuntu releases, Timeshift is available from the Universe repository. Open Terminal and run sudo apt update, followed by sudo apt install timeshift. If the package cannot be found, enable Universe through Ubuntu’s Software & Updates application, refresh the package lists, and try the installation again.

Launch the application from the Activities menu or run timeshift in Terminal and authorise the required actions. The setup screen asks where snapshots should be stored and which method to use. For the common ext4 installation, choose RSYNC. Do not select BtrFS mode merely because it sounds faster; it is intended for a compatible Btrfs filesystem rather than Ubuntu’s usual ext4 setup.

The default root-folder location is convenient, but a separate partition with plenty of free space can reduce pressure on the main filesystem. Timeshift also creates restore entries in the GRUB boot menu when GRUB is installed normally. Keeping /boot separate is supported, although boot-loader problems can make recovery more complicated and should be covered by a separate backup.

Capture a known-good recovery point

Open Timeshift and move to the snapshot manager. Choose the option for creating a snapshot, confirm the RSYNC method and storage location, then give the restore point a meaningful description. A label such as Ubuntu 24.04 working before kernel update is more useful months later than a generic date alone.

Manual snapshots are best created immediately before a major upgrade, a change to graphics drivers, or an experiment with a desktop environment. Scheduled snapshots can also be enabled for hourly, daily, weekly, or monthly intervals. Keep the schedule light on a laptop with limited storage, because every retained point can add to the total space used.

Pay attention to what the snapshot actually covers. It will preserve much of the system configuration, but it will not capture a new project in ~/Documents or changes made to files under ~/Downloads. Copy that work elsewhere first. This is particularly important when an Ubuntu machine is used for family photographs, small-business records, or active development rather than only as a test system.

Check recovery before you need it

After creating a snapshot, reboot normally and confirm that Ubuntu still starts and that your important applications work. You can also inspect the available restore points with sudo timeshift --list. A short reboot cycle may reveal a kernel or graphics-driver problem that was not visible while the old kernel remained active.

Timeshift normally adds entries named for its snapshots under the GRUB menu. On many systems, hold Shift while rebooting or use the firmware boot-menu key to reveal GRUB, then select Advanced options. The exact key varies between computers, but the entries should be visible once the boot menu is displayed.

Do not perform a full restore merely to test the interface. Restoration overwrites current system files and may remove recently installed packages. Instead, verify that the snapshot is listed, that the boot menu contains a recovery entry, and that the storage partition remains readable. A spare disk or virtual machine is a safer place to rehearse the complete procedure.

Restore Ubuntu after a failed update

If the update leaves Ubuntu unbootable, enter GRUB and look under Advanced options for a Timeshift restore entry. Select the restore point created immediately before the update, then allow the process to finish. Avoid interrupting it because a half-completed restoration can leave package records and system files at different versions.

You can also restore from the normal desktop if it remains usable. Open Timeshift, choose the restore function, select the appropriate snapshot, and confirm the destination filesystem. A restoration may take noticeably longer than snapshot creation, particularly for the first RSYNC backup, so keep the laptop connected to mains power.

When GRUB cannot start, boot an Ubuntu live USB. Open Timeshift in the live environment, identify the original Ubuntu installation, and select the stored snapshot. The live session may ask you to install Timeshift before it can access the existing restore points. The command-line alternative is sudo timeshift --restore, but the graphical interface is clearer for choosing the correct snapshot.

After recovery, check the system before making further changes. Run sudo apt update and repair any incomplete dependencies with sudo apt --fix-broken install. Then perform a controlled upgrade rather than immediately accepting every proposed package change. Restoring can also leave recently created users or encrypted-volume settings inconsistent, so verify that your home directory, external drives, and network credentials remain accessible.

Maintain snapshots without filling the disk

Review snapshots periodically and remove obsolete points while retaining at least one known-good baseline. Keep an additional point before any major release upgrade or significant hardware change. If storage becomes tight, inspect the snapshot list before deleting anything, since the oldest usable restore point may be your safest fallback.

Ubuntu’s unattended-upgrade mechanism can install security fixes without prompting you. That is valuable, but a troublesome package may return shortly after a restoration. If the same failure happens again, temporarily suspend that update through the appropriate Ubuntu update settings and investigate the package before allowing it to be installed again. Record which update caused the problem for future reference.

Australian daylight-saving changes and the country’s multiple time zones can make schedules look unexpected. Set snapshots in your actual local time, and check whether a job ran during the clock change. For cyber-security guidance, the Australian Signals Directorate’s ASD ACSC resources provide useful advice about authorised update channels and account protection.

The same care applies on Ubuntu Touch and shared Android devices. A review of mobile app security shows why untrusted applications and their permissions deserve scrutiny, particularly when family members use the same handset. Keep mobile software separate from the backup and recovery process, but apply the same preference for trusted sources and timely updates.

A useful Timeshift setup is one you can operate under pressure without searching through several guides. Know the name of your good snapshot, where it is stored, and whether the machine boots with a separate /boot partition. Those details turn a confusing failed upgrade into a controlled return to working Ubuntu.

The next concrete step is to open Timeshift, choose Create, select RSYNC mode, name the snapshot Known good - pre-update, and wait for the progress indicator to finish.