This quick tip allows you to setup automatic backups in KDE for your personal documents, using Dropbox. If Unity has backup integration by default, this is not the case for KDE. There are a few ways of enabling automatic updates in KDE but I’ve found that Kup is the best way to do so.

Kup Backup System has been created to allow KDE users to keep up-to-date backups of their personal files. Here are a few Kup features:

    Backup types:

  • Synchronized folders with the use of “rsync”.
  • Incremental backup archive with the use of “bup”

    Backup destinations:

  • local filesystem path, monitored for availability. That means you can set a destination folder which only exist when perhaps a eSATA harddrive or a network shared drive is mounted and Kup will detect when it becomes available.
  • external storage, like usb hard drives. Also monitored for availability.


  • manual only (triggered from tray icon popup menu)
  • interval (suggests new backup after some time has passed since last backup)
  • usage based (suggests new backup after you have been active on your computer for some hours since last backup).

Installing and enabling Dropbox

Either open a terminal and type:

sudo apt-get install nautilus-dropbox

Or, user Muon Package Manager or Muon Discover to install it


Now, fire-up Dropbox from the K Menu (I found it under Internet) and set up your account. This will create the ‘Dropbox’ directory in your Home.


Use Dolphin to browse to the Dropbox folder and create a subfolder where you’ll save your backups. I’ve used ‘backup-kde’, so the path to the path directory will be ‘/home/username/Dropbox/backup-kde’. Remember it as you’ll need it later.


HowTo install Kup Backup System for KDE

Open-up a konsole and type:

sudo add-apt-repository ppa:leviatan1/ppa
sudo apt-get update
sudo apt-get install kup

This will install kup and its dependencies. After the installation is completed, head to KDE System Settings; here you’ll find the ‘Backups’ icon. Open It.


Here, enable backups and choose to Add New Plan. Select the type of backup you want.
Versioned backup keeps older versions of your files in the backup folder. When using this, only the small parts of your files that has actually changed since last backup will be saved as incremental backups. This will allow you to restore a complete backup or only one or a few files.
Synchronized backup keeps the backup folder completely in sync with what you have on your computer, deleting from the backup any file that you have deleted on your computer etc.


From the Sources tab, choose which directories to backup. Make sure you uncheck “Dropbox”. In the Advanced tab, you have the option to show/hide hidden files.


In the Destination tab, choose the Dropbox backup directory as the path


Finally, from the schedule tab, specify how often to run a backup.


From the tray icon, select Take update now.



Restoring files

You can either run this command in a terminal (don’t forget the ~):

kup-filedigger ~/Dropbox/backup-kde/

Or, create a new KDE menu entry: right click on KDE Launcher, select ‘Edit Applications’, right click on ‘Utilities’ and select ‘New Item’. Here, choose a name for the new item and set kup-filedigger ~/Dropbox/backup-kde/ as the command. Optionally, choose an icon and Save the menu editor.


The File Digger window allows you to select either a folder or a file and to restore it by clicking “Restore”. Alternatively, you can browse through the backup archive by pressing the “Open” button.


That’s it. Enjoy!

Backup your personal files – Kubuntu 14.04 and DropBox
Tagged on: