Description:

Kup is created for helping people to keep up-to-date backups of their personal files. Connecting a USB hard drive is the primary supported way to store files, but saving files to a server over a network connection is also possible for advanced users.

When you plug in your external hard drive Kup will automatically start copying your latest changes, but of course it will only do so if you have been active on your computer for some hourse since the last time you took a backup (and it can of course ask you first, before copying anything).
In general Kup tries to not disturb you needlessly.

There are two types of backup schemes supported, one which 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. The other scheme also 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 and therefore incremental backups are very cheap. This is especially useful if you are working on big files. At the same time it's as easy to access your files as if a complete backup was taken every time; every backup contains a complete version of your directories. Behind the scenes all the content that is actually the same is only stored once. To make this happen Kup runs the backup program "bup" in the background, look at https://github.com/bup/bup for more details.

One important note is that bup will work regardless of which filesystem is used on the external drive. You can use NTFS or FAT32, unlike some other backup solutions which require hard links to work!

Download
You can find software packages to download for many linux distros at http://download.opensuse.org/repositories/home:/simper:/kup

What the Kup backup system consists of
[li]Configuration module, available in your system settings. Here you can configure backup plans, what to include, where to store the backup and how often. You can also see the status for the backup plans here.[/li]
[li]A small program running in the background. It will monitor to see when your backup destination is available, schedule and run your backup plans. It has a system tray icon that shows up when a backup is long overdue.[/li]
[li]Kioslave for accessing bup archives. This allows you to open files and folders directly from an archive, with any KDE application.[/li]
[li]A file browsing application for bup archives, allowing you to locate the file you want to restore more easily than with the kioslave. It presents a merged view: inside each saved folder you can see all the files it ever contained (well, that has been backed up at least). Select a file and you can see which different versions of this file that exists in the bup archive. You can open and view the files from here and it also helps you restore files or folders. [/li]

Detailed list of features
[li]backup types:
- Synchronized folders with the use of "rsync".
- Incremental backup archive with the use of "bup"
[/li]
[li]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.
[/li]
[li]schedules:
- 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).
[/li]

Needed backup programs

To actually create backups of your data you will need either "bup" or "rsync" installed. They
provide the implementations for the two different types of backups that Kup supports.

Helping out
If you want to help out with translation, check out
https://www.transifex.com/projects/p/kup/. There you can see the current status of all current languages and also request a new language to be added!

If you feel like helping out with coding, please have a look at the code and the list of issues at the github page:
https://github.com/spersson/Kup

Please report any issues at the github page!

If you do test new features that are not in a released version yet, please let me know if it works or not. This project is still small enough that it is very useful to get feedback on any testing done.
Last changelog:

Kup Version 0.7.0 4 months ago

- Change system tray icon from simple popup menu to plasma applet - allows you to see status of backup plans there instead of having to open configuration window.
- Add progress reporting with percentage and transfer speed.
- Add option to pause and abort the saving of backups.
- Change folder layout of backups of sync type. Before you would need to go through layers of folders inside folders before reaching your files, now Kup tries to minimize this problem while still making sure that the folders have different names.
- Detect if user is shutting down system while saving of backup is ongoing - shows a warning and gives user a way to cancel shutting down.
- Kup now prevents power saving system from suspending or hibernating the computer while backup saving is ongoing.
- Kup now detects if laptop is on battery and in that case even fully automatic backups that normally don't ask first will now ask if a new backup should be saved.
- System tray icon will now stay hidden until saving of backup is long overdue. Before it would be shown anytime the backup drive was plugged in.
- Improve wording of some phrases and the icon choices in a few places to make things clearer.
- Add button for duplicating an existing backup plan.
- Add notification for successful completion of backup saving, before Kup would only notify you in case of problem.
- Fix a crash that could sometimes happen when loading a new configuration.
- A bunch of smaller bug fixes and layout improvements, mostly in the configuration module.

peerwal

11 months ago

Thnks for your support and sorry I did not read the README carefully! The installation seems to have woked fine now. However, if I open 'Backups' in the system settings I get a message saying that a single kup control module has been left over during the last KDE upgrade and that I should remove it. Now, where do I find the old control module?

Report

C

sideshow

11 months ago

Try running "locate" to find the file... this is how it looks for me:

~ $ locate kcm_kup
/usr/lib/qt/plugins/kcm_kup.so
/usr/share/kservices5/kcm_kup.desktop

Report

peerwal

11 months ago

This is what I found:

/usr/local/lib/plugins/kcm_kup.so
/usr/local/share/kservices5/kcm_kup.desktop

plus a huge number of kcm files in my ~/install folder, which, I suppose, are not relevant.

May my descrpition of the error message was not precise enough, so, I try to translate the essential part of it from German:

-------------
A dynamic library could not be found.
Possible causes are:
1. A problem occurred during the last KDE upgrade causing a single control module of the previous version to be left over.
2. Old modules exist of programs that do not belong to KDE.
---------------------

Actually, I did a clean new install of Kubuntu and only restored my data to my home partition.

By the way, is there a deb package I could have used for the insatallation for Kubuntu 16.10? I only saw Arch packages and even was not sure they would fit my 64bit architecture.

Report

C

sideshow

11 months ago

No, sorry... no deb package. I'm using opensuse's buildservice to create the packages but the KDE libraries are not available there (doesn't support packages from "universe" on the build service).

If I remember correctly the kcm modules will not be found if installed to /usr/local. I will update the README file with better instructions.... that you should run this instead:

cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=release ..

Report

peerwal

11 months ago

Thanks for the instructions. I ran the command from within

~/Install/Kup-kup-0.6.1/build$

and then

~/Install/Kup-kup-0.6.1/build$make
~/Install/Kup-kup-0.6.1/build$sudo make install.

Unfortunately, this did not change anything about starting the backup module.

I akso uninstalled before installing again but with no success. Should I have removed files before or even have started from scratch?

Sorry for coming back on you again but I am not too familiar with installing from sorce code. However, I am learning ...

Report

C

sideshow

11 months ago

Oh, I really expected that to solve the problem for you. Uninstalling from /usr/local first should not be strictly necessary, just nice to keep a clean system.. :)

Because of your comments I had a look again at the build service and found that now it does actually produce .deb files for ubuntu 16.04 and 16.10. So, please try installing a deb from here:
http://download.opensuse.org/repositories/home:/simper:/kup/xUbuntu_16.10/amd64/kup_0.6.1-1_amd64.deb

Those files there used to be linked automatically from this page but now after moving from kde-apps.com to linux-apps.com it no longer works. I will try to provide a link in the description at least so that other people can find these software packages.
Thanks for not giving up! :)

Report

peerwal

11 months ago

Thanks very much for the link. The installation using the deb worked perfectly!

Report

peerwal

1 year ago

What a great backup tool!
I just installed ver. 0.5.1-1 on a Kubuntu 14.04 system and ran a manual backup of my personal data using an ext4 formatted Fritz!NAS drive as the destination drive. Basically it runs perfectly but each backup has a couple of corrupted packs, so I can't view the archived files using the 'View Files' function. So, what do I do with the corrupted packs as I don't see any way of restoring files without being able to view the files?
Thanks for your support.

Report

peerwal

1 year ago

Although not having found the reason for the integrity check failing on some of the pack files I solved the issue by running a completely new backup.

Report

C

sideshow

1 year ago

I'm sorry for the late reply, but I don't really have much time for my laptop anymore, I have a child now.... Anyway, I didn't have anything wise to say about corrupted packfiles, I have not experienced any myself.
Thanks for the kind words!

Report

sbaragnaus

1 year ago

Hi,
I've tried to backup my pictures drive (ext4 filesystem) to an external hd (ext4 filesystem).

I can't complete my backup due to a denied permission in the "lost+found" folder.

How can I exclude that directory? It's grayed out in backup configuration. I'm using kup 0.6 and Kde 5.5.3.


Here is the log:

Kup is starting rsync backup job [...]
rsync -aR --delete --delete-excluded --exclude=/home/sbaragnaus/pictures/Downloads /run/media/sbaragnaus/Verbatim/backup-kup
rsync: opendir "/home/sbaragnaus/pictures/lost+found" failed: Permission denied (13)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1178) [sender=3.1.2]

Kup did not successfully complete the rsync backup job.


Thanks

Report

avlas

1 year ago


I guess this is because lost+found belongs to the root user and Kup currently cannot backup files belonging to third users (root included).

I would highly appreciate to have the option to enable admin backups from the kcm shell.

Thanks btw Sideshow for porting Kup to KF5! I am glad I can use Kup again :)

Report

sbaragnaus

1 year ago

It's an official bug:

https://github.com/spersson/Kup/issues/39


Can anyone help to fix it?

Thanks

Report

C

sideshow

1 year ago

Just replying here so you get a notification that this has been solved in version 0.6.1. I really hope kup will work for you now!

Report

ach

1 year ago

dolphin, gwenview and maybe other can add semantic info to any file: Tags, Rating and Comments.

They are stored as extendend attributs xattr. E.g.:

$ xattr -l file-with-xattr
user.xdg.tags: foo bar baz,blabla
user.baloo.rating: 4
$

When you 'Restore' a directory with such a file or copy it from Kup backup via 'Open' the xattr are lost. Maybe worth mentioning somewhere in the docs?

I'm sure it's bup's 'fault', not kup's, but that does not really help ;-)

Achim
P.S. vim, kate, copy with dolpin (kio in general?) do _not_ preverse xattr too :-(

To preserve xattr you have to use

rysnc -aX ...
cp -a ...
tar --xattrs ...

Report

C

sideshow

8 months ago

Thank you for the feedback, must be frustrating for somebody who wants to use extended attributes if so many apps are not preserving them... :( I found some time to look at this now and indeed, for rsync it was as simple as you say, I had forgotten to include the -X flag. But for restoring with bup I didn't see any problem. And yeah, if you open a folder from the Kup restore tool then what you get is dolphin opening up the bup:// kioslave. Copying out the files from there will not preserve xattrs... don't know if that can be fixed. Sorry to say it but I don't think I will find time to look into that one.

Report

ach

2 years ago

Hi,
1st: thx a lot for this great tool!

In kubuntu, kdebase-runtime is for years a transitional pkg for kde-runtime. See

http://packages.ubuntu.com/search?keywords=kdebase-runtime&searchon=names&exact=1&suite=all&section=all

kdebase-runtime is not installed in new installations. So installing kup via dpkg complains about missing dependency kdebase-runtime. But all kdebase-runtime pkg does is depending on kde-runtime, which is always already installed in kubuntu.

Depending on kde-runtime would make dpkg -i kup.. work out of the box for kubuntu.

Achim

Report

ach

2 years ago

Same for debian:

https://packages.debian.org/search?keywords=kdebase-runtime&searchon=names&exact=1&suite=all&section=all

Report

C

sideshow

2 years ago

Thanks for the tip! I can see the value in fixing this... but I don't see how to do it. There is no mention of any runtim dependencies in the package files for debian/ubuntu, only lists the build deps. I guess the runtime deps are generated automatically when the package is built.
If you have any advice for how to correct it that would be good. My motivation for packaging is very low, looking back I can't really believe I managed to get these packages built, considering how time consuming, boring and frustrating it is.

Report

domhans

2 years ago

Hi,
first thanks for this great tool. saved my life several times.

since a few days I get the following error:

bup -d /media/IDO_BACKUP/Backups save -n kup
bup -d /media/IDO_BACKUP/Backups fsck -g
fatal: pack is corrupted (SHA1 mismatch)
pack-fbe490bea4e3b09cfdd723aac661a8559a385f31 git verify: failed (1)
fatal: pack is corrupted (SHA1 mismatch)
pack-15f284bcbb01e5df6d21d64bbf11cd3b1089d7a2 git verify: failed (1)

It looks like it's more related to git, but I could not find any suitable solution. Any Idea?

Thanks!

Report

domhans

2 years ago

forgot, I'm using the 'generate recovery information' option and i already tried to do a

bup -d /media/IDO_BACKUP/Backups fsck -r

did not help

Report

C

sideshow

2 years ago

Just sounds like the files have been corrupted beyond repair then... be happy you found out before you needed the backup! :)

Report

bicyclingrevolution

2 years ago

I've really enjoyed using this for backing up to a USB hard drive, but now I would like to back up to a NAS. I can access it with a file manager using ftp, but when I copied the address (ftp://192.168.0.2:21/Backups) into Kup, Kup says the backup destination is unavailable.

Report

C

sideshow

2 years ago

There is no built in support for any networked protocol. (As far as I know the only ones that could be possible would be rsync (for rsync backups.. duh) and ssh for bup backups.

That said, you can use FUSE to mount a remote location and then just configure Kup to use a folder
inside the remote storage while it is mounted.
I have never used anything like this myself but there seem to be fuse implementations available for ftp, listed at wikipedia: https://en.wikipedia.org/wiki/Filesystem_in_Userspace

Good luck! And please report back if there are any problems with getting this to work.

Report

remix

2 years ago

Can you tell me if your program can backup hidden folders, files, symlinks, preserving privileges and information whether file is executable?

Many Linux users want backup tool to backup/recover their /home because of desktop environment settings.
There is topic about that on KDE forum
https://forum.kde.org/viewtopic.php?f=88&t=39107

If this program can do it this should be stated explicitly in description. This could make this program even more popular and valued.

By the way, for people who want to backup DE settings: it is good to use BleachBit before to delete temporary files, miniatures, etc.

Report

Kup Version 0.7.0 4 months ago

- Change system tray icon from simple popup menu to plasma applet - allows you to see status of backup plans there instead of having to open configuration window.
- Add progress reporting with percentage and transfer speed.
- Add option to pause and abort the saving of backups.
- Change folder layout of backups of sync type. Before you would need to go through layers of folders inside folders before reaching your files, now Kup tries to minimize this problem while still making sure that the folders have different names.
- Detect if user is shutting down system while saving of backup is ongoing - shows a warning and gives user a way to cancel shutting down.
- Kup now prevents power saving system from suspending or hibernating the computer while backup saving is ongoing.
- Kup now detects if laptop is on battery and in that case even fully automatic backups that normally don't ask first will now ask if a new backup should be saved.
- System tray icon will now stay hidden until saving of backup is long overdue. Before it would be shown anytime the backup drive was plugged in.
- Improve wording of some phrases and the icon choices in a few places to make things clearer.
- Add button for duplicating an existing backup plan.
- Add notification for successful completion of backup saving, before Kup would only notify you in case of problem.
- Fix a crash that could sometimes happen when loading a new configuration.
- A bunch of smaller bug fixes and layout improvements, mostly in the configuration module.

5 years ago

Kup Version 0.6.1
2016-06-13:
- Show hard drives that are not listed as hotpluggable, but still considered removable. Fixes some cases where a plugged in USB3 harddrive did not show up and could not be selected as backup destination.
- Now allows free selection of unreadable folders but instead warns the user about any unreadable files or folders in the set of current folders to be backed up.
- Now detects if there are any symbolic links being backed up that points to something not being backed up. Shows a warning in that case.
- Updated translations, added Bosnian language.
- Improved messages in the log file.
- Bugfix for the case of no folder selected in the source selection. The entire folder selection tree was impossible to use because of a bug in Qt.
Kup Version 0.6.0
2015-05-14:
- Ported the whole application to KDE Frameworks 5.
- Small bugfix for detecting problem with write permission for the backup destination.
- Please note that there are not so many other applications ported yet, so looking at files directly from backup archive (without restoring the files first) can be a problem. Applications based on KDE libraries version 4 will not be able to peek inside a bup backup archive. If you need that, keep using 0.5.1 instead.
- The default version linked from here is still 0.5.1, packages and source code for 0.6.0 is available at https://build.opensuse.org/package/show/home:simper:kup/kup-kf5
- Ubuntu packages are available at https://launchpad.net/~martin-loschwitz/+archive/ubuntu/kup/+files/kup_0.6.0-2_amd64.deb

Kup Version 0.5.1
2015-03-20:
- Bug fix for source selection: there was a situation where the folder selection collapsed and could not be expanded when dealing with hidden folders, this has now been fixed.
- Expand to show selected hidden folders when enabling "show hidden folders".
- Add ".local/share/Trash" as a default exclude for new backup plans.
- Change how includes and excludes are shown in the source selection, hopefully this way it should be clearer what will be backed up.
- Add an error message, correct some texts, update all translations. Contains big improvements to polish, german, italian and portugese translation.

Kup is now available in 12 languages, 7 of them are complete translations! The remaining 5 are about 70% translated.

Kup Version 0.5.0
2014-10-25:
- Add option to generate recovery information that can be used to fix broken bup backup archive.
- Add option to do integrity testing of bup archive every time a new backup is taken. In case something is broken and you are generating recovery information it will ask you if you want to try repairing the files.
- Now the configuration dialog warns about dataloss when using rsync in combination with fat32 or ntfs.
- Keep a log file of last backup job, can be viewed from system tray menu.
- Bugfix for viewing files in a bup archive containing more than 1000 separate backups.
- Cosmetic fixes and more informative texts in the configuration dialog.
- Add complete translation to Chinese(taiwan) and Lithuanian.

Kup Version 0.4.2
2014-05-09:
- Bug fix: store bup index in backup so that .bup folder in home directory is not needed, it was not being initialized anyway.. that was the real bug.
- Bug fix: allow user to select sources from /run. Internal hard drives could be mounted there, so it's a valid usage scenario.
- Bug fix: fix starting the monitoring process when enabling backups for the first time.

Kup Version 0.4.1
2014-03-15:
- Bug fix: detect when a new filesystem is mounted on a monitored path.
- Now with complete German, Polish, Russian, French, Portugese, Spanish, Tagalog, Swedish and Italian translations. Woohoo! A big "thank you" to all translators!

Kup Version 0.4.0
2014-01-25:
- Bug fix: detect encrypted partitions on external hard drives.
- Small update to keep up-to-date with new metadata format in bup v0.25
- Add German, Italian and Swedish translations. Tagalog and Spanish are still only partial.

Kup Version 0.4.0 beta 1
2013-10-08:
- Add kioslave for accessing files and folders directly from any git archive (including bup archives, of course!). Comes complete with support for metadata scheduled to be available with the soon-to-come 0.25 version of bup. Please test! Just type "bup://" in a kde-based filemanager (dolphin, konqueror, krusader et al)
- Add a new application called filedigger, it helps you find the right version of a file and then also helps you restore that file. You can open folders and files to have a look at them before restoring, thanks to the new kioslave.
- Add rsync-type of backups.

Please help test the above new features! And now is also the time to translate all the new texts, please help adding your language!

Kup Version 0.3.2
2013-05-20:
- Add german, italian and tagalog translations.
- Make it more difficult to create a backup plan without a destination. (Select first usb drive automatically when connected, warn user if no drive is selected when saving)

Kup Version 0.3.1
2013-03-09:
- Fix running with older versions of bup by removing compression level option, not useful for most people anyway.
- Check if bup is installed, notify user if not.
- Add spanish translation.

Kup Version 0.3
2013-02-20:
- Adds an option to take the backup as root. Useful when you want to backup system files which needs root access to read.
- Now checks if you are inactive (no mouse or keyboard activity) when accumulating usage time. For instance, Kup will no longer count time watching a movie on your computer as active usage time.
- Adds ability to configure which compression level is used for backups.
- Adds the option of selecting/deselecting hidden folders.
- Adds infrastructure for translations and a swedish translation. Help with other languages would be appreciated!
- Now sets the CPU and (on linux) the IO scheduler priority of the backup processes to be very nice, just to minimize risk of a running backup disturbing you.
- Fixes a couple of bugs in the folder selection tree.
- Shows more info about external drives connected and now also remembers more info about the drive you have selected.
- Now uses the bup index file in your home directory instead of having the index file located in the destination archive. This can perhaps give better performance in some scenarios, not tested.
- Adds a few hidden folders in your home directory as default excludes, should be useful for most people.

Kup Version 0.2
2012-02-13:
- Introduced a new scheduling mode, Usage. Monitors how long you've been logged in since last backup was taken and suggests new backup after configured number of hours. Made this scheduling mode the default.
- Made a new systray icon (supposed to look like a safe... you judge..).
- The progress notification thing was just ugly & annoying, removed it. Now just showing an animated icon when taking a backup.
- Added option to never ask user before starting to take a new backup.
- Improved error reporting
- Big code cleanup for more maintainable code
- Made the config module's way of detecting/starting the daemon process more reliable.
- Systray icon tooltip now contains info on backup plan status.
- Systray icon now shows up with a red warning symbol if a plan has "bad" status; more than three times the backup interval has passed since last backup.
- Bug fix, already plugged in devices didn't show up in the list for selecting external destination drive.
- Bug fix for local filesystem destination: now detects if destination folder becomes available after a mount.

Kup Version 0.1
2011-12-09:
- Initial release.

product-maker Niemand May 05 2017

product-maker VectoR Aug 14 2016

product-maker qtnerd Jul 28 2016

product-maker shevegen Jun 16 2016

product-maker caig Dec 29 2015

product-maker fdsyncmaster Nov 12 2015

product-maker lassilas Jul 14 2015

product-maker Alesvol Jun 05 2015

product-maker kalac May 23 2015

product-maker fthomas Dec 22 2014

product-maker AlmaTlust Sep 01 2014

product-maker franciscot May 14 2014

product-maker Pafrape Apr 07 2014

product-maker pondogor Mar 15 2014

product-maker pvt14 Feb 15 2014

product-maker HATRED Feb 02 2014

product-maker anespor Oct 14 2013

product-maker janet Oct 10 2013

product-maker nicola011127 Oct 09 2013

product-maker nicola09126 Oct 09 2013

product-maker nicola09125 Oct 09 2013

product-maker nicola09121 Oct 09 2013

product-maker nicola08127 Oct 09 2013

product-maker nicola08126 Oct 09 2013

product-maker nicola08125 Oct 09 2013

product-maker nicola08124 Oct 09 2013

product-maker nicola08122 Oct 09 2013

product-maker nicola07126 Oct 09 2013

product-maker nicola07125 Oct 09 2013

product-maker nicola07124 Oct 09 2013

product-maker nicola07123 Oct 09 2013

product-maker nicola07121 Oct 09 2013

product-maker nicola06127 Oct 09 2013

product-maker nicola06126 Oct 09 2013

product-maker nicola06125 Oct 09 2013

product-maker wevertonmarx Oct 08 2013

product-maker gmen Sep 13 2013

product-maker epsilom Jul 21 2013

product-maker OdinEidolon May 22 2013

product-maker goderic Apr 29 2013

product-maker RAIDENSUB Mar 27 2013

product-maker OderMalSo Mar 09 2013

product-maker snowweb Feb 25 2013

product-maker lazx888 Feb 20 2013

product-maker paulus3005 Feb 20 2013

product-maker Contrast Feb 20 2013

product-maker drvoodoo Mar 20 2012

product-maker nikore90 Feb 13 2012

product-maker avlas Feb 12 2012

product-maker FraMari Dec 10 2011

product-maker ReedWood Dec 09 2011

product-maker extra Dec 09 2011

product-maker 3 Dec 09 2011

product-maker e1nste1n Dec 09 2011

product-maker kudlaty Dec 09 2011

product-maker 6 6

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
0.7.0
updated Sep 12 2017
added Dec 08 2011
downloads today
0
page views today 9