Skip to content
This repository has been archived by the owner on Mar 19, 2023. It is now read-only.

Add cloud_backup option #202

Closed
robmarkcole opened this issue Jan 20, 2021 · 2 comments
Closed

Add cloud_backup option #202

robmarkcole opened this issue Jan 20, 2021 · 2 comments

Comments

@robmarkcole
Copy link
Owner

robmarkcole commented Jan 20, 2021

Currently we can save locally but add support for additionally saving to S3 (and other cloud locations in future?). Only requires a couple of lines from https://github.com/robmarkcole/HASS-S3
Will greatly simplify the process for anyone who wants to store on locations as well as local, which currently requires automations using folder_watcher.

Proposed addition to config:

cloud_backup:
    - location: S3
      aws_access_key_id: AWS_ACCESS_KEY
      aws_secret_access_key: AWS_SECRET_KEY
      region_name: eu-west-1 # optional region, default is us-east-1
      bucket: foo
      key: bar
@robmarkcole robmarkcole changed the title Add storage_location option Add save_files option Jan 20, 2021
@robmarkcole robmarkcole changed the title Add save_files option Add remote_storage option Jan 22, 2021
@robmarkcole robmarkcole changed the title Add remote_storage option Add cloud_backup option Jan 24, 2021
@robmarkcole
Copy link
Owner Author

robmarkcole commented Jan 24, 2021

It would make more sense to register a service to call with the filename, rather than reimplement the service here.

Alternatively we can provide an automation blueprint for the current folder_watcher + S3 approach

@robmarkcole
Copy link
Owner Author

replaced by #215

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant