Skip to main content
Security notice: Following the eMudhra CA key compromise, upgrade Rugix Ctrl to 1.3.1 and update the trust stores in your images. Read our guidance.
Documentation
Archived
You're viewing the archived 0.8.14 docs. This release is no longer maintained.

State Management Ideas

(Planned) Exporting and Importing

🚧 This feature is planned but has not been implemented yet! 🚧

Export all state and later import it.

rugix-ctrl state export <file name>.tar.xz
rugix-ctrl state import <file name>.tar.xz

(Planned) State Profiles

🚧 This feature is planned but has not been implemented yet! 🚧

Sometimes it can be beneficial to support multiple profiles with different state.

rugix-ctrl state list
rugix-ctrl state create <profile name>
rugix-ctrl state switch <profile name>

(Planned) Hardware Reset Button

🚧 This feature is planned but has not been implemented yet! 🚧

Should a device hang in a boot loop or otherwise malfunction because of corrupted state, a hardware reset button may be a convenient way for users to reset a system in the field, without requiring an expensive service technician to come out or sending the device to a repair center. For this purpose, Rugix Ctrl can be configured to check whether a reset button connected to one of the GPIO pins of the Raspberry Pi is pressed. If this is the case and the button is hold for a specific amount of time, a factory reset can be automatically performed with the option to preserve the corrupted state for later (remote) recovery. Likewise, another button could be programmed to initiate a reboot to the spare system, increasing the resiliency even further.