{"id":23882558,"url":"https://github.com/alikhachev/ha-backup-s3-uploader","last_synced_at":"2026-06-13T01:32:58.605Z","repository":{"id":270285230,"uuid":"909854012","full_name":"ALikhachev/ha-backup-s3-uploader","owner":"ALikhachev","description":"A simple tool to upload Home Assistant backups to S3","archived":false,"fork":false,"pushed_at":"2024-12-30T01:59:38.000Z","size":24,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T01:34:06.560Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ALikhachev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-29T23:23:14.000Z","updated_at":"2024-12-30T01:59:41.000Z","dependencies_parsed_at":"2024-12-30T04:15:23.473Z","dependency_job_id":null,"html_url":"https://github.com/ALikhachev/ha-backup-s3-uploader","commit_stats":null,"previous_names":["alikhachev/ha-backup-s3-uploader"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ALikhachev/ha-backup-s3-uploader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ALikhachev%2Fha-backup-s3-uploader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ALikhachev%2Fha-backup-s3-uploader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ALikhachev%2Fha-backup-s3-uploader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ALikhachev%2Fha-backup-s3-uploader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ALikhachev","download_url":"https://codeload.github.com/ALikhachev/ha-backup-s3-uploader/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ALikhachev%2Fha-backup-s3-uploader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34269363,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-04T02:54:49.958Z","updated_at":"2026-06-13T01:32:58.588Z","avatar_url":"https://github.com/ALikhachev.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Home Assistant Backup S3 Uploader [![Docker Image Version](https://img.shields.io/docker/v/alexlikhachev/ha-backup-s3-uploader)](https://hub.docker.com/r/alexlikhachev/ha-backup-s3-uploader) ![GitHub License](https://img.shields.io/github/license/ALikhachev/ha-backup-s3-uploader)\n\nA simple tool for uploading Home Assistant backups to S3 or S3-compatible storage (like Minio). Built as an experiment\nto explore the Rust ecosystem!\n\n## Features\n\n* Works with S3 or S3-compatible storage such as Minio.\n* Uploads backups with their actual names, e.g., replacing `99733641.tar` with `test-backup.tar` (if that was the\n  original name of the backup).\n\n## How to use\n\n1. Get your storage credentials and configure permissions.\n2. Run the Docker image `alexlikhachev/ha-backup-s3-uploader`, mounting the Home Assistant backups directory to\n   `/backups`, as follows:\n   ```shell\n   docker run --rm \\\n   -e AWS_ACCESS_KEY_ID='\u003caccess-key\u003e' \\\n   -e AWS_SECRET_ACCESS_KEY='\u003csecret-key\u003e' \\\n   -e AWS_SESSION_TOKEN='[session-token]' \\\n   -e AWS_REGION='\u003cregion\u003e' \\\n   -e AWS_ENDPOINT='[custom-endpoint]' \\\n   -e AWS_BUCKET='\u003cbucket-name\u003e' \\\n   -v \u003cbackup-directory\u003e:/backups \\\n   alexlikhachev/ha-backup-s3-uploader:latest\n   ```\n   The `\u003cbackup-directory\u003e` could be something like `/usr/share/hassio/backup`.\n3. The application will upload any existing backups and terminate once completed.\n4. To upload backups regularly, configure it via crontab.\n\n## TODO\n\n* Better integration with Home Assistant.\n* Improved error handling.\n* ...\n\n## How to build (tested only on macOS so far)\n\n1. Install the Rust toolchain: [Install Rust](https://www.rust-lang.org/tools/install).\n2. Install Cross for cross-compilation:\n   ```bash\n   cargo install cross\n   ```\n3. Build the project using the provided script:\n   ```bash\n   ./build.sh\n   ```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falikhachev%2Fha-backup-s3-uploader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falikhachev%2Fha-backup-s3-uploader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falikhachev%2Fha-backup-s3-uploader/lists"}