backintime
backintime copied to clipboard
Support Wake on LAN
I often read about this use case.
It would be nice if BIT would be able to wake up the server by itself.
Currently this can only be achieved via user-callback, udev or a user defined script using cron.
I'm not sure why user-callback wouldn't be enough for this. It's a similar situation like mounting a source or target filesystem.
Maybe for a start, we could provide/support a well-tested user-callback script for this task, then see how it might be implemented in BiT itself.
For some users a user-callback script is a bit "to much". The feature is just about usability.
For some users a user-callback script is a bit "to much". The feature is just about usability.
IMO, if a callback script is too much, WOL is probably too much also.
IMO, if a callback script is too much, WOL is probably too much also.
How is that? WOL would be a checkbox in the settings dialog and a drop down menu with the currently available machines in the network. And an extra entry to manually add a MAC-Adresse. Sounds much more comfortable than editing a user-callback script.
WOL would be a checkbox in the settings dialog and a drop down menu with the currently available machines in the network.
Well, that's the rub ... most systems that I've seen that offer a WOL function requires you enter the MAC address of the NIC being used to wake the system up.
Probing for all devices capable of WOL could take a LONG time ... just scanning a network for all devices on my home network (/24 subnet) takes 30-45 seconds. Even if a scan could be performed, can you determine if a system will respond to a WOL request?
If it is an SSH profile we are able to login and extract the MAC directly. :rofl: Of course I can't be sure if the system will respond, maybe WOL is not active in BIOS.
Of course I can't be sure if the system will respond, maybe WOL is not active in BIOS.
Or what WOL responds to.