How to Install Timeshift in Ubuntu 24.04, 22.04 to backup whole system

Last updated: May 24, 2024 — 5 Comments

This simple tutorial shows how to install the latest version of TimeShift, to backup your Ubuntu system by creating ‘system store‘ points.

Timeshift is a popular system backup tool originally developed by Tony George. It’s now a project maintained by Linux Mint, though the original developer is still one of the top contributors.

And, he is maintaining a PPA repository contains the latest packages so far for Ubuntu 20.04, Ubuntu 22.04, Ubuntu 24.04 and their derivatives.

Install Timeshift

Timeshift is available in Ubuntu system repository, though it’s old! User can either choose to install the old package from Ubuntu Software, or run the commands below one by one to get the latest version from PPA.

1. First, press Ctrl+Alt+T on keyboard to open a terminal window. When it opens, run command to add its official PPA:

sudo add-apt-repository ppa:teejee2008/timeshift

Type user password (no asterisk feedback) when it asks and hit Enter to continue.

2. Then, either run command below to install the package:

sudo apt install timeshift

The sudo apt update command might be required to run first in some Ubuntu based systems to refresh package cache.

Or, use Software Updater to upgrade the tool if an old version was installed.

Backup your system (Create Restore points)

After installing the tool, search for and open it either from system start menu or ‘Activities’ overview depends on your desktop environments.

On the first launch, the setup wizard will ask you to choose snapshot type, destination location, setup daily backup, whether to backup user files (excluded by default). And, it’s OK to use Default options, since there’s ‘Settings’ page to re-configure them later.

After setup wizard, click on “Create” button on the main UI to start creating the first restore point!

The first backup can take quite a few minutes and dozens of GB disk space (Make sure you have enable free space for saving the first snapshot)! The 2nd, 3rd, … backups can be faster and smaller, because it shares common files between snapshots to save disk space.

After created backups, they are listed in the main UI window. Simply highlight one, then you can browse its content, copy and save it into another storage device if want.

And, just click ‘Restore‘ will revert your system to the status it was when you created that snapshot, without touching user documents, music, videos, etc, unless you included them in setup Wizard.

Uninstall Timeshift

Before removing the software, you may choose to remove all the backup snapshots that you don’t need anymore to free up disk space.

Then, open terminal and run command to remove the app package:

sudo apt remove timeshift

And remove the Ubuntu PPA via command:

sudo add-apt-repository --remove ppa:teejee2008/timeshift

In case you already removed the software package, but left the backup snapshots on disk. You may try to remove them to free up disk space via command:

sudo rm -R /timeshift/

That’s all. Enjoy!

Twitter

I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to let me know if the tutorial is outdated! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via ubuntuhandbook1@gmail.com Buy me a coffee: https://ko-fi.com/ubuntuhandbook1 |

5 responses to How to Install Timeshift in Ubuntu 24.04, 22.04 to backup whole system

  1. Hi Ji M, thanks so much for this post about removing Timeshift. Unfortunately it did not solve my problem – even though I removed all snapshots before removing software, there is STILL a Timeshift folder on my external hard drive, and I can’t Trash it – permission denied. Totally frustrating, as can’t use Borg til I get rid of Timeshift folder. Would love to hear if you have any ideas. Thanks.

    • Did you try right-clicking on that folder and select “Open in Terminal”, then use the command below to remove that folder with root user permission?

      sudo rm -R FOLDER_NAMER
      • Hello Ji m.
        I’ve tried your solution, but there is one response in terminal:
        “rm: cannot remove ‘timeshift/snapshots/2024-04-22_12-04-17/rsync-log’: No such file or director”
        In fact there are all of this files.
        And this is for any folder/file in timeshift/.
        What can I do?

  2. Hi, how can I get rid of this warning on Ubuntu 24.04 LTS?
    W: https://ppa.launchpadcontent.net/teejee2008/timeshift/ubuntu/dists/noble/InRelease: Signature by key *** uses weak algorithm (rsa1024)

Leave a Reply

Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

*