Creating a dedicated partition on an external hard drive for Timeshift backups can be a great way to safeguard your system. Timeshift is a powerful tool that creates snapshots of your system, allowing you to roll back to a previous state in case of a system breakdown. This article will guide you through the process of creating a Linux partition on an external hard drive for Timeshift backups.
To create a Linux partition on an external hard drive for Timeshift backups, you can use the GParted tool. Install GParted if you don’t have it already, then open it and format the desired partition as ext4. After that, configure Timeshift to use this newly created partition for backups.
Preparing the External Hard Drive
Before we begin, ensure you have connected your external hard drive to your system.
Open a terminal and use the
lsblk command to list all connected drives and their partitions. The command is as follows:
This command will display a list of all connected drives. Identify your external hard drive from this list. It might be listed as
/dev/sdc, or similar, depending on the number of drives connected to your system.
Please note: All data on the external hard drive will be erased during this process. Make sure to back up any important files before proceeding.
Creating a Linux Partition
We will be using the GParted tool to create the Linux partition. GParted is a free partition editor for graphically managing disk partitions. If you don’t have GParted installed, you can install it using the following command:
sudo apt-get install gparted
Once GParted is installed, open it and select your external hard drive from the drop-down menu at the top right.
Next, select the partition you want to format, right-click on it, and choose
Format to -> ext4. The ext4 file system is a scalable extension of the ext3 file system, which is the default file system for many Linux distributions.
After selecting the ext4 format, click on the green checkmark to apply the changes. This will format the selected partition and create a new Linux partition.
Setting Up Timeshift Backups
Now that we have created a Linux partition, we can set up Timeshift to use it for backups.
Open Timeshift and go to
Settings -> Location. Here, select the partition we just created. Timeshift will now use this partition for creating system snapshots.
Remember, Timeshift is designed for system-level backups and does not back up personal files and data by default. Therefore, it is recommended to use both Timeshift for system-level backups and a tool like Deja Dup for backing up personal files and data.
Creating a dedicated Linux partition on an external hard drive for Timeshift backups is a great way to safeguard your system. It allows you to restore your system to a previous state in case of a breakdown. Just remember to regularly update and maintain your backups to ensure they are up to date and relevant.
Yes, you can use any external hard drive as long as it is compatible with your system. Make sure to format the external hard drive and create a dedicated Linux partition before using it for Timeshift backups.
Yes, you can use a different partition format if you prefer. However, ext4 is the recommended file system for Linux distributions and is widely supported. Using ext4 ensures compatibility and optimal performance for Timeshift backups.
No, Timeshift is designed for system-level backups and does not back up personal files and data by default. It focuses on capturing system-level changes and configurations. For backing up personal files and data, it is recommended to use a separate tool like Deja Dup or another backup solution.
It is recommended to update your Timeshift backups regularly, especially after making significant changes to your system. The frequency of updates depends on your usage and the level of changes made to your system. As a general guideline, weekly backups are a good starting point, but you can adjust the frequency based on your needs and preferences.
Yes, Timeshift is not limited to Ubuntu and can be used on various Linux distributions. It supports popular distributions like Fedora, Debian, Arch Linux, and more. However, the installation process and specific commands may vary slightly depending on the distribution. It is recommended to refer to the Timeshift documentation or the documentation specific to your distribution for detailed instructions.