How to use deja-dup for data backups on Linux

Deja-dup is a Gnome application. It can be used for data backups of the computer to a USB drive, another hard disk, folder or even to the cloud. Data backups are encrypted using the Gnu Privacy Guard (GPG) shared key as they are done.

The first backup takes time, depending on the data to be backed up and the device. Once that is done, deja-dup will backup data incrementally any changes and new content. It will also automatically reduce the size of the data by taking a full backup at regular intervals.

Install deja-dup

To install deja-dup, open a terminal window and enter the following command:
$ sudo apt-get install deja-dup <enter>

Start deja-dup

To start deja dup, search for Accessories -> Backups in the start menu.

Select the files or folders to backup and those you wish to exclude. If you want to select hidden files, then press Ctrl + H to display them in the file selection list.

Enter a password to encrypt the backup and the device on which the backup is to be taken.

Add files and folders to be backed up to deja-dup

Thereafter, if you need to remove or add folders to the backup, select Preferences -> Folders. Once done, the backup can be scheduled or it can done manually whenever needed.

Reset deja-dup backup

To reset deja-dup backup, delete file ~/.config/dconf/user. Then you can reselect the folders / files that you want to backup.

Restore data from backup

Restore the data from the deja-dup application only.

There are other backup tools like LuckyBackup, mintbackup, grsync, amanda and more, but I found deja-dup to be much simpler, supports encryption, cloud backup and has a GUI that’s simple to follow.