hassio-addons icon indicating copy to clipboard operation
hassio-addons copied to clipboard

Enhancement: Adding additional state

Open jkrasinger opened this issue 7 months ago • 0 comments

I am working on an automation for running "Samba Backup" for special purposes.

One is Backing up "Mariadb" while the MariaDB service is stopped. For this my automation stops "MariaDB" AddOn and then starts the Backup only with MariaDB. Another automation waits for the "SUCCEEDED" or "FAILED" state on samba_backup sensor and restarts the MariaDB Add-On.

This is working perfectly, but .... The local backup is done quickly, but the upload to the Samba share takes much longer, but the “SUCCEEDED” status is only posted after the upload is finished. This means that the HA database remains turned off longer than necessary.

Would it be possible to introduce an additional status, e.g. “RUNNING-UPLOAD” after the local backup is completed and the upload starts? That would be extremely helpful.

jkrasinger avatar Jul 23 '24 14:07 jkrasinger