Games

How to create snapshots with Timeshift on Ubuntu 20.04

Understanding Timeshift and Its Importance in System Backup

In the realm of data management, having a reliable backup system is essential — especially for users of operating systems like Ubuntu. Timeshift, a powerful tool, facilitates this process by allowing users to create snapshots of their system. These snapshots serve as a safety net, ideal for rolling back to a previous state in case of system failures or other issues. In this article, we will explore how to effectively create snapshots with Timeshift on Ubuntu 20.04, providing a comprehensive guide for both new and experienced users.

What is Timeshift?

Timeshift is a system restore utility designed exclusively for Linux operating systems. It focuses on creating incremental backups of selected files and system settings, making it easier for users to recover their systems. Unlike traditional backup solutions that can be complex and cumbersome, Timeshift simplifies the backup process through a user-friendly interface.

Key Features of Timeshift

  1. Snapshot Creation: Timeshift allows users to create snapshots automatically or manually. These can be full system backups that capture the state of the operating system at a specific point in time.

  2. Incremental Backups: Rather than duplicating entire systems with each backup, Timeshift performs incremental backups. This means only changes made since the last snapshot are stored, saving both time and disk space.

  3. Easy Restoration: If a significant issue occurs (like a system crash or a problematic software update), restoration is straightforward. Users can return their system to a previous snapshot with just a few clicks.

  4. Scheduled Backups: Users can automate the process of taking snapshots at set intervals, significantly reducing the chances of data loss.

  5. Support for Multiple Devices: Timeshift can create snapshots on different partitions or external drives, providing added flexibility in backup management.

See also  EndeavourOS 2021.08.27

Installing Timeshift on Ubuntu 20.04

Before proceeding with snapshot creation, you need to install Timeshift. The installation process is straightforward and can be done either through the terminal or GUI.

Installation via Terminal

  1. Open your terminal (you can do this by pressing Ctrl + Alt + T).

  2. Update your package list to ensure you have the latest sources by entering the following command:
    bash
    sudo apt update

  3. Install Timeshift by typing:
    bash
    sudo apt install timeshift

  4. Once the installation is complete, you can launch Timeshift from the application menu or by typing timeshift in the terminal.

Installation via GUI

Alternatively, you can install Timeshift using the Ubuntu Software Center:

  1. Open the Ubuntu Software Center from your application menu.
  2. Search for “Timeshift” in the search bar.
  3. Click on the Timeshift application in the results and then click “Install.”

Setting Up Timeshift

After installation, the next step is configuring Timeshift for your system.

Launching Timeshift

  1. Upon starting Timeshift, you will be greeted with a welcome screen. You can choose between “RSYNC” and “BTRFS” snapshot types. RSYNC is compatible with most file systems and should be selected unless your system is set up with BTRFS.
  2. Click “Next” to continue configuring Timeshift.

Choosing Snapshot Type

  1. For RSYNC users:
    • You will need to select the snapshots location. Timeshift allows you to choose an existing partition or an external drive.
  2. Once selected, click “Next” to proceed.

Selecting Backups

  1. A new window will appear asking you to set snapshot user. There are options to include or exclude specific system files and directories.
  2. After configuring this, you can choose a schedule for automatic snapshots. You can set Timeshift to take snapshots hourly, daily, weekly, or monthly, depending on your needs.
See also  HP Chromebook x360 11 G3 EE

Completing the Setup

In the final step, you can review your configuration settings. If everything looks satisfactory, click “Finish” to save your settings.

Creating Snapshots Manually

While Timeshift can be configured for automatic snapshots, it’s beneficial to know how to create them manually.

  1. Launch Timeshift.
  2. Click on the “Create” button to initiate a snapshot.
  3. You will see a pop-up window displaying the progress of the snapshot creation. This window will disappear once the process is complete.

Restoring from Snapshots

Restoring your system from a previous snapshot with Timeshift is just as simple as creating one.

  1. Launch Timeshift.
  2. You will see a list of previously created snapshots. Select the snapshot you wish to restore.
  3. Click on the “Restore” button, and follow the prompts provided by the system.
  4. Once the restoration is complete, your system will reboot, and you should be back to the state captured in the selected snapshot.

Maintaining Your Snapshot Library

As your system evolves, the number of snapshots may grow significantly. Therefore, proper management of these snapshots is crucial.

Deleting Old Snapshots

You can delete old snapshots to free up disk space:

  1. Open Timeshift and navigate to the list of snapshots.
  2. Select the snapshot you wish to delete.
  3. Click the “Delete” button and confirm your decision.

Keeping the System Clean and Efficient

Regularly managing your snapshots ensures that you have enough disk space while retaining the necessary backups for your system restoration needs.

Final Thoughts

Timeshift is an indispensable tool for anyone using Ubuntu 20.04. Its ability to automate backup processes, coupled with the straightforward restoration features, makes it an ideal solution for both novices and seasoned Linux users. By understanding how to create, manage, and restore snapshots, you can safeguard your system against unforeseen issues, ultimately leading to a more secure and stable computing environment.

See also  Manjaro 18.1.0 RC1

FAQ

What file systems does Timeshift support?

Timeshift primarily supports RSYNC and BTRFS file systems. RSYNC is suitable for most common Linux distributions, while BTRFS is tailored for systems utilizing that specific file system.

Can I use Timeshift on external drives?

Yes, Timeshift allows users to select external drives as locations for snapshots. This can be useful for conserving space on your primary drive.

What happens to my data if I restore a snapshot?

Restoring a snapshot will revert your system back to the exact state at the time the snapshot was taken. Any data or changes made after that point will be lost, so always ensure vital documents are backed up independently.

Is there a limit to the number of snapshots I can create?

There is no fixed limit on the number of snapshots you can create, but keep in mind that each one requires disk space. Regular maintenance and deletion of unnecessary snapshots are advised to avoid running out of space.

Can Timeshift cause data loss during restoration?

While Timeshift is designed to safely restore snapshots, there is always a risk of data loss with any restoring operation. It’s recommended to maintain separate backups of critical files outside of Timeshift.

How can I cancel a snapshot creation?

If you wish to cancel a snapshot creation, you can typically do so by closing the Timeshift window. However, any operations already underway may not be reversible. Always be cautious with this process.

About the author

Jeffrey Collins

Jeffrey Collins

Jeffery Collins is a Microsoft Office specialist with over 15 years of experience in teaching, training, and business consulting. He has guided thousands of students and professionals in mastering Office applications such as Excel, Word, PowerPoint, and Outlook. From advanced Excel functions and VBA automation to professional Word formatting, data-driven PowerPoint presentations, and efficient email management in Outlook, Jeffery is passionate about making Office tools practical and accessible. On Softwers, he shares step-by-step guides, troubleshooting tips, and expert insights to help users unlock the full potential of Microsoft Office.