is there a way to backup my config dir to my github, i see a way to restore from github in the addons but not a backup
Run a cron script with got commit -am “automated commit”
Unless you have a private repo, I wouldn’t suggest this. You would need to backup your secrets file and your .storage directory.
Additionally, if you are using add-ons the config for those wouldn’t be backed up.
Use the hassio snapshot feature and make a regular backup. Also copy that backup to somewhere independent.
If you need to use the backup, you load the snapshot into the backup directory and click restore. Make a cup of tea and it should be restored by the time you get back.