General
General Backup Handler service diagnostics.
BackupHandlerHealth [CALL]
BackupHandlerHealth
Checks whether the Backup Handler service is alive and responsive. Used by other services to verify that the Backup Handler is reachable before issuing further commands.
Wire format: [Topic, Message]
Send: CallTopic + {Params: ...} → Receive: CallResultTopic + {Result: ...}
No params.
Result
|
Result |
boolean |
Always `true` when the Backup Handler responds. |
Example - Health checkRequest (you send) JSON
JSON
Response (you receive) JSON
JSON
|
Backup Mode
Endpoints for activating and deactivating backup mode on this machine.
ToggleBackupMode [CALL]
ToggleBackupMode
Activates or deactivates backup mode on this machine. Has no effect unless this machine is designated as a backup server. When the state changes, triggers the backup activation sequence and broadcasts the updated `BackupActive` state to all subscribers.
Wire format: [Topic, Message]
Send: CallTopic + {Params: ...} → Receive: CallResultTopic + {Result: ...}
Params
|
Active |
boolean |
Whether to activate backup mode. |
Result
|
Result |
boolean |
Whether this machine is configured as a backup server (regardless of whether the activation was applied). |
Example - Activate backup modeRequest (you send) JSON
JSON
Response (you receive) JSON
JSON
|