Skip to main content

Setup - Deja - Dup

Deja Dup is a simple backup tool for Linux, seamlessly integrated into the GNOME desktop. It utilizes the duplicity backend to produce encrypted, incremental, compressed backups. Here’s a guide on how to set up Deja Dup on Linux Mint and store backups on your WebDAV server:

1. Installation of Deja Dup:

Open a terminal and execute the following commands:

sudo apt update
sudo apt install deja-dup duplicity

2. Launching Deja Dup:

Search for "Deja Dup" in the Linux Mint application menu and launch the application.

3. Configuring Settings:

  1. Click on "Preferences" or "Settings".
  2. Under "Storage Location", select "WebDAV" from the dropdown menu.
  3. In the "Folder" field, input your URL, replacing joscha.mijailovic with <username>. It should look like this: davs://<username>/?dir=/Backup. Note that the exact path will depend on your WebDAV server setup.
  4. Under the "Login Credentials" section, input your username and password.
  5. Determine which folders you wish to backup and which ones you wish to exclude. By default, your Home directory will be backed up.
  6. Choose how often backups should occur and for how long they should be retained.

Exclude and some settings:

dconf write /org/gnome/deja-dup/exclude-list "['/home/$USER/VirtualBox VMs', '/home/$USER/Downloads', '/home/$USER/gpt4all', '/home/$USER/Nextcloud', '/home/$USER/Pictures', '/home/$USER/Videos', '/home/$USER/tmp/VM', '/home/$USER/.local/share/', '/home/$USER/.steam/debian-installation/steamapps']"

4. Starting Backup:

Click "Backup Now" to manually initiate the backup process. Remember, the first backup might take a while depending on the amount of data. Subsequent backups are typically faster since they only back up changed files (incremental backups).

5. Restoring Files:

If you ever need to restore files, you can open Deja Dup, choose "Restore", and follow the on-screen instructions.

Note: As with all backup solutions, ensure that your backups are being made regularly and correctly, and that you know how to restore data when needed. It's advisable to occasionally test the restoration process to make sure everything works as expected.

Good luck with your data backups using Deja Dup!