backintime icon indicating copy to clipboard operation
backintime copied to clipboard

Feature Request: Configurable waiting time for drive ready when connecting an external drive

Open Germar opened this issue 10 years ago • 4 comments

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

Germar avatar Oct 11 '15 16:10 Germar

(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.

Germar avatar Oct 11 '15 19:10 Germar

The value is still not configurable, see: https://github.com/bit-team/backintime/blob/88d19d42e9128f60b8952a64ed1fff23bd28108f/common/snapshots.py#L668-L678)

emtiu avatar Sep 10 '22 20:09 emtiu

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.

buhtz avatar May 24 '23 13:05 buhtz

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.

buhtz avatar Jun 05 '23 11:06 buhtz