Ubuntu (Linux) Backup Solutions

Article by Wayne Fagan. Published on 11 Aug, 2020.

My preferred operating desktop environment is Ubuntu (20.04). I use this for both work and personal purposes, so it is essential that I maintain a robust backup solution not just for my `/home` directory files but also for the operating system as well.

For the last several years I've been using Deja-Dup for backing up my files in my `home/` directory. Deja-Dup is a GUI for duplicity.

The initial benefits of using Deja-Dup is the simple, yet intuitive GUI, your files are encrypted when they are backed up, you have several options as to where to back up your files (currently you have a choice of either backing up to the the cloud, remote host, or to local storage), and finally you can restore both files and folders back to a specific back up date.

The main drawback is that it is not possible, from the GUI, to schedule when back ups are performed. That being said, if your are familiar with duplicity then you can tweak these settings from the command line.

The next tool I use is Timeshift. Timeshift provides system restore points via snapshots, so if you accidentally compromise your operating system you can always roll back to a previous configuration.

It is possible to store snapshots in the `/home` directory, however my solution is to target an external storage device.

One key point to mention is that this is not intended to back up your `/home` directory, nor any storage which is currently mounted.

One of the great things about Timeshift, is that if you can't access your system for whatever reason you can also use a live USB, install Timeshift into memory and then start the recovery process from there.

There are many alternatives but for me this is what has proven to be a rock solid solution.