real time file monitoring

Bug #781428 reported by Rahul Sundaram
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Déjà Dup
Confirmed
Wishlist
Unassigned

Bug Description

Deja-dup currently does a scan of the configured backup folders and this can take a quite bit of time before the diff syncing even starts. It would be useful to have a agent running in the background that does real time monitoring of file changes, logs it and when Deja-dup is started, play the log instead of doing a full scan at the time of the launch. Would make Deja-dup significant faster to sync changes on subsequent runs. Perhaps you can hook into Zeitgeist if it has this info already.

Revision history for this message
Michael Terry (mterry) wrote :

Actually, that first scan is just to determine total file size of everything duplicity will touch. We run duplicity in 'dry-run' mode and let it tell us the size of all included files. But really, we could probably tell that easily enough ourselves without asking duplicity.

That would be a good improvement to skip the lengthy dry run. It might be as simple as running du on the directories.

Changed in deja-dup:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Michael Rodríguez-Torrent (mrtorrent) wrote :

Just wanted to say that, after running so many backups recently to test out that other bug and finding that the initial scan itself takes quite a few hours on my data, I can really see the utility of a proactive notification system like this. I believe Apple's Time Machine works in a similar fashion, by monitoring changed files.

Doesn't dbus (or some other Gnome component) provide notification hooks for filesystem changes? If I'm not mistaken, I think a few media management applications, e.g. Banshee, use this to keep their libraries up-to-date.

Revision history for this message
Aaron Whitehouse (aaron-whitehouse) wrote :

This would probably be easiest to implement after Bug #1415621

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.