Linux Mint

Linux TimeShift for Backup Tutorial

Linux TimeShift for Backup Tutorial

Have you ever thought about how you can take the backup of data on your Ubuntu, Linux Mint, and other Debian based system and restore it? We can do it using TimeShift. Timeshift is a free tool for creating a backup of your data and filesystem. It can be easily installed on Ubuntu, Linux Mint, and other Debian based operating systems. If you face any trouble or loss of data, you can easily restore your data from backup.

This guide will learn to install TimeShift, create backups, and remove TimeShift on Ubuntu 20.04 and Linux Mint 20. The installation procedure is exactly the same on the aforementioned operating systems. We are using Ubuntu 20.04 for demonstration.

Let's get started.

Install TimeShift on Ubuntu 20.04 and Linux Mint 20

Update apt cache

Before installing any new package or application, it is recommended to update the system's apt repository cache using the following command:

$ sudo apt update

Alright! The apt repository cache is updated successfully.

Install TimeShift from the repository

The TimeShift is included in the base repositories on Ubuntu 20.04 and Linux Mint. Run the following command to install TimeShift from the base repository:

$ sudo apt install timeshift

Congratulation! The TimeShift is successfully installed.

Launch TimeShift Application

After the successful installation of TimeShift, now we are ready to launch it and create backups.

To launch the TimeShift application, open the Application Menu, and write TimeShift in the search bar.

The TimeShift application icon will appear. Click on the TimeShift application icon.

Authentication is required to open the TimeShift application. Write the root password and click on the 'Authenticate' button.

The TimeShift application dashboard will appear.

How to create backup snapshots using TimeShift

From the TimeShift application dashboard, we can create, restore, and delete the backup snapshots. There are other various options available on the dashboard. To create a backup snapshot, click on the create button.

Step 1. Select Snapshot type

Next, we have to select the Snapshot type. The RSYNC supports all the filesystems, whereas the BTRFS only supports the BTRFS file system. The RSYNC takes the backup of the full system. It is suggested to select the RSYNC snapshot.

After snapshot selection, the TimeShift estimates the system size.

Step 2: Select snapshot location

From the given list of locations, select the destination where the backup snapshots will be saved. After selecting the snapshot location, click on the “Next” button.

Step 3: Select snapshot levels

Next, we have to select the snapshot levels. It will automatically create the snapshots according to the selected snapshot levels.

Step 4: Select user home directories

The TimeShift only protects the system files and settings by default. The home directory is not included by default. Nevertheless, if you want to protect your documents and other files, then you can also select the home directory. After selecting the directories, click on the 'Next' button.

Alright! The setup is complete now. Click on the 'Finish' button.

Create a backup snapshot

Now, click on the create button, and TimeShift will start creating the backup snapshot.

Upon completion, the backup snapshot will appear on the TimeShift Dashboard screen. To restore the backup, select the backup and click on restore.

Remove snapshot application

At any point, if you want to remove the TimeShift application, run the following command to do so:

$ sudo apt remove timeshift

While removing the TimeShift application, the command line will prompt with a yes and no option. To remove the TimeShift from your system, press 'y' on the command line. If you have changed your mind about the TimeShift application, then press 'n', and TimeShift will not be removed.

Conclusion

The backup snapshots can easily be taken on Ubuntu 20.04, Linux Mint 20, and other Debian based operating systems using the TimeShift application. TimeShift is a free and open-source tool available through the Ubuntu 20.04 and Linux Mint 20 base repositories. This article briefly describes how to install TimeShift and take backup snapshots on Ubuntu 20.04 and Linux Mint 20.

How to reverse Mouse and Touchpads scrolling direction in Windows 10
Mouse and Touchpads not only make computing easy but more efficient and less time-consuming. We cannot imagine a life without these devices, but still...
How to change Mouse pointer and cursor size, color & scheme on Windows 10
The mouse pointer and cursor in Windows 10 are very important aspects of the operating system. This can be said for other operating systems as well, s...
Motoare de jocuri gratuite și open source pentru dezvoltarea jocurilor Linux
Acest articol va acoperi o listă de motoare de jocuri gratuite și open source care pot fi utilizate pentru dezvoltarea jocurilor 2D și 3D pe Linux. Ex...