Deja Dup should use inotify or Zeitgeist to get the list of changed files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Déjà Dup |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
One of the most annoying things with Deja Dup on my laptop are that every time I boot it, for the first hour it works with deja dup / duplcity to check what was changed since last time before the actual backup takes place. During this time half of the CPU capacity and a large amount of IO are taken for the task. Backup are important and a wonderful peice of software as deja dup / duplicty takes a hit by this, and may be interupted to many times when the load stops normal work.
You have certenly got this question many times, inotify-system have been around for a long time now. With inotify we can get a message when a file are changed and take action. For example we can build a small list of what files are changed since last backup and use this instead of the time consuming task to check every file in the file system with the remote backup. With this list we can use --include-
There are alot of pros using inotify (or incron), one of the bad thing that has bo be solved are that we have to let kernel listen at all directories in a directory structure. Now we only have to configure for example /home/user-
Another solution would be to use Zeitgeist and listen for changed files using dbus. The upside whould be that deja dup can use the same privacy configuration that Zeitgeist uses not to distribute secret files to the backup site. Ive been programming with inotify and know there are no overhead and its very easy to handle, but I don't have the same experience of Zeitgeist api so I can't tell if its easy or not.
summary: |
- Deja Dup whould use inotify (or Zeitgeist) to be more efficient. + Deja Dup should use inotify or Zeitgeist to get the list of changed + files |
affects: | deja-dup (Ubuntu) → deja-dup |
Changed in deja-dup: | |
importance: | Undecided → Wishlist |
Status changed to 'Confirmed' because the bug affects multiple users.