I recently migrated from a Docker Container deployment to a Home Assistant OS VM on Proxmox. I use an automation to create backups at 3:30am. I used to use backup.create_backup action but with HAOS I learned that I needed to use hassio.backup_full action. I replaced the action in the automation and backups are being made successfully, which is reflected in the Supervisor logs. However, whereas in the past on Container, the sensor.backup_backup_manager_state would change to indicate the backup was in progress, now I see no such changes and this sensor is always idle. Am I missing something?
#Backup Manager State
1 messages · Page 1 of 1 (latest)
Why not just use the built in automatic backup system?
I certainly could. I could try this and see if "sensor.backup_backup_manager_state" updates correctly.
I'm just feeling like this could be a bug in that the Backup Integration docs says it applies to all install types of HA and it provides this sensor, so you'd think it'd update correctly.
It might be that the entity is for the built in backup system which you can manually call with backup.create_automatic which uses the automatic backup settings.
On the actions list you can see that the creating an automatic backup is using the backup integration whereas the other more manual stuff is calling the supervisor directly.
I think you might be right.
From my entity history the entity it seems to work fine for my automatic backups. But I don't automate on it.
I would drop the automation and just use the built in system.
Be sure to keep your backups in a safe place and also keep the encryption key safe.
Yeah, I write the HA Backups to my NAS unencrypted and then my NAS syncs them to cloud storage and encrypts everything before transmit.
I set up Automatic Backups and disabled my automation, we we shall see how that sensor does tomorrow.
It looks like the Automatic Backup also backs up all the apps (previously add-ons) so I'm now wondering what the difference is between the "hassio" action for full backup and the "backup" automatic ones.
You can adjust what it backs up in the settings if you want to not include apps or even customise which ones.
A full will include everything by default, but an automatic will use the settings you have set.
It looks like Automatic backups do behave as we expected.