Upload HA backups to AWS S3 via SSH with integrity check and notifications

Hello everyone! Glad to be part of this amazing community.

If you’re looking for a secure and automated way to back up your Home Assistant OS instance (or any SSH-accessible host) to AWS S3, I created this project:

https://github.com/escomputers/home-assistant-s3-backup

It’s a Python tool that connects remotely via SSH, scans for backup files, uploads them to S3 with SHA256 integrity checks and optionally sends failure alerts to Home Assistant via webhook.

Key features:

  • :closed_lock_with_key: SHA256-verified uploads
  • :shield: Optional IAM Roles Anywhere support
  • :gear: Re-upload prevention with local + S3 state sync
  • :rotating_light: Webhook-based error notifications to Home Assistant
  • :test_tube: Tested with HA OS, Linux, and AWS S3

Ideal for anyone serious about automated, secure, and verifiable off-site backups.

Feel free to reach me out for sharing ideas, enhancements or anything related!

PS: In the future (time permitting) it could evolve into a full-fledged Home Assistant Add-on making setup even easier for less technical users.

1 Like