backintime
backintime copied to clipboard
Feature Request: Configurable waiting time for drive ready when connecting an external drive
Hi
when the backup (cron) job starts, BIT waits 30 seconds to plug-in the corresponding external drive. Is there any way to customize this time? I would like to increase this to 2min.
Best Regards Christoph
Imported from Launchpad using lp2gh.
- date created: 2010-02-24T10:08:40Z
- owner: csperle
- the launchpad url was https://bugs.launchpad.net/bugs/526939
(by genghiskhan) I have attached a plugin by Mr. Raphael Groner (see contact information in the attached file).
This plugin for backintime tries to activate a mount point before a snapshot will be created, and it unmounts it afterwards automatically.
The value is still not configurable, see: https://github.com/bit-team/backintime/blob/88d19d42e9128f60b8952a64ed1fff23bd28108f/common/snapshots.py#L668-L678)
This reminds me on my fitness "app" that makes a 30 sec pause between each set. The 30 secs are counted down like a timer. But lazy people like me can push the "+20 secs" button as often they want, to increase the pause. ;)
So my proposal is not to create a usual config option in the settings dialog but modifying the "30 seconds waiting" message dialog. Maybe add one extra buttons +1 minute on it while the counter is running down.
Not a tiny thing but might be a nice Qt-exercise.
I did some research in the codebase.
The current implementation is not a usual Qt messagebox but a notify message (possibly send via DBUS). It pops up as a notify/tooltip window in the systray. In code setTakeSnapshotMessage() is called which itself do use config.PLUGIN_MANAGER.messer() to send the message.
So there is no way to implement an extra button here. Might be easier to keep it how it is and really just add a new profile config option to customize the 30 seconds.