pa-wills / Home-Assistant-Config

This is my Home Assistant config repo. Just yamls at this very early stage.
0 stars 0 forks source link

automate snapshots, then push to S3 or similar #36

Closed pa-wills closed 4 years ago

pa-wills commented 4 years ago

So, I have added an automation to do a full backup each day at 0300 AEDT.

Need to test restoration.

Also, need to now automate upload to the cloud.

pa-wills commented 4 years ago

OK, so the backup seems to have triggered ok. The dropbox sync - hasn't. Why?

Triggering it manually now - I think it's got the wrong action. Because, the logs do not show it running.

pa-wills commented 4 years ago

Seems to work just fine when I invoke the add_on stdin service with "{"addon":"7be23ff5_dropbox_sync","input":{"command":"upload"}}". So, definitely a problem with the Automation, and specifically the Action within (since the logs show that the Trigger is fine).

pa-wills commented 4 years ago

Yep, it was the action. I have fixed that on the last commit, re-tested, and it's now working. So, just need to confirm all is ok tomorrow morning (should be - the triggers seemed to work just fine on this morning's run).

pa-wills commented 4 years ago

Seems fine. Changes merged back into master branch.