I have written a user-callback that does a variety of things for my remote backup target. It checks the confirms the callback is for the remote target and the reason is to mount necessary drived, checks the WiFi ESSID for location, and then sends a WOL packet to the server (a NAS, it spends most of its time off) and waits for a successful GET on the server's admin page (latency of about 1 minute).
This should just work when the user selects the remote profile to view snapshots, but it turns out that the call back is not called until the user acknowledges that the remote server is not responding to pings. It seems to me that either the ping should happen after the call to the user-callback with the remote profile and reason 7, or there should be another reason that deals with requesting that the server be up.
I have written a user-callback that does a variety of things for my remote backup target. It checks the confirms the callback is for the remote target and the reason is to mount necessary drived, checks the WiFi ESSID for location, and then sends a WOL packet to the server (a NAS, it spends most of its time off) and waits for a successful GET on the server's admin page (latency of about 1 minute).
This should just work when the user selects the remote profile to view snapshots, but it turns out that the call back is not called until the user acknowledges that the remote server is not responding to pings. It seems to me that either the ping should happen after the call to the user-callback with the remote profile and reason 7, or there should be another reason that deals with requesting that the server be up.