shortbloke / home_assistant_config

HomeAssistant.io Configuration Files
MIT License
160 stars 18 forks source link

Automate hassio backup - local and remote #20

Closed shortbloke closed 6 years ago

shortbloke commented 6 years ago

Moving to hassio has meant my previous model of writing images, file backups etc to a SMB share is no longer valid.

I've added a dropbox sync add-on: https://github.com/danielwelch/hassio-dropbox-sync however this needs to be combined with a service to automate the creation of the snapshot: https://community.home-assistant.io/t/hassio-0-61-snapshot-service/39690

Which would also call https://github.com/danielwelch/hassio-dropbox-sync to sync the newly created backup to dropbox.

shortbloke commented 6 years ago

Added Daily Dropbox sync calls, and weekly auto-snapshot creations in automations.yaml in change: https://github.com/shortbloke/home_assistant_config/commit/1c45137c39d5fa76c7f1caf94093a73281924b6c#diff-18e45a7fc262b10ede9c8e10a08ce8ab

Documentation still to be updated.

shortbloke commented 6 years ago

Docs updated https://github.com/shortbloke/home_assistant_config/commit/299bfceff2bf2faaa8db41294ccb1909a2ea223d#diff-e3e2a9bfd88566b05001b02a3f51d286