Hello Aziz, nice to see you back on NSsbackup :)
I've worked on the development series and committed some code related to this feature. Just check it out and tell me what you think (but it is quite basic till now and needs some improvements). Here are some explanations: I think, an interactive (or at least passive) desktop front-end to the backup process is quite important - for example an icon that appears within the system tray during the backup. From such icon the user could get access to some extended informations (and maybe even functionality): clicking on the icon opens a status window; right click opens a context menu that offers `Cancel backup` etc. To enable this i've choosen the following way: The backup daemon launches a DBus service (if the user wants this; and actually it is tried to launch the service) and a GUI within the system tray. Both, the service and the GUI are separate scripts running in separate processes. The backup daemon now uses the Observer pattern (as introduced by you, but not implemented as Singleton) to notify about its current state and important events. If no DBus service is running, then no notifications are broadcasted. The GUI listens to specified messages and displays notifications etc. So far the described services etc. are implemented. The determination of complete time (or at least of backup progress in percent) should be able with TAR's `checkpoint` options. But this is not implemented so far. I've played around with this checkpoint options and got some interesting results: it is possible to launch a small script on each checkpoint. This could send a message with the current progress over the DBus. Regards Jean-Peer Am Sonntag, den 08.03.2009, 14:17 +0100 schrieb Oumar Aziz OUATTARA: > Hello Jean-Peer, > > About https://bugs.launchpad.net/nssbackup/+bug/130856 , do you have an > idea on how to determine the time to completion ? it looks difficult to > determine :-/ . > > Regards > Aziz > > _______________________________________________ > Mailing list: https://launchpad.net/~nssbackup-team > Post to : [email protected] > Unsubscribe : https://launchpad.net/~nssbackup-team > More help : https://help.launchpad.net/ListHelp
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
_______________________________________________ Mailing list: https://launchpad.net/~nssbackup-team Post to : [email protected] Unsubscribe : https://launchpad.net/~nssbackup-team More help : https://help.launchpad.net/ListHelp

