Hi everyone,
I’d like to share a project I’ve been working on to solve a specific gap in many backup strategies: bringing cloud data back to local control.
While there are many tools to backup Home Assistant to the cloud, OneDrive Backup Machine does the opposite. It turns your Home Assistant host into a local backup server for your important OneDrive files/folders.
Why I built this
Most sync tools are “black boxes”—you don’t always know if a file was skipped or why a sync failed. This add-on focuses on traceability. Every backup run is stored in its own timestamped folder, making it easy to verify, browse, and recover specific versions without guessing.
Key Features
- Device Login Flow: Easy linking with Microsoft account (no complex OAuth redirect setup).
- Full & Incremental Modes: Save space by only downloading changes or grab everything for a full snapshot.
- Task Scheduling: Create multiple tasks with different folders and cron-like schedules.
- UI Dashboard: Built-in web interface to monitor recent jobs, counts, and detailed error logs.
- HA Integration: Includes a Custom Component that exposes sensors (status, counts) and buttons (Run Now) directly to your Lovelace dashboard.
How to Install
- Add my repository to your Supervisor:
https://github.com/augleao/onedrive-backup-machine - Install the Onedrive Backup Machine add-on.
- Configure your
client_id(instructions in the README). - (Optional) Install the custom component to get entities in your dashboard.
Screenshots
Check out the full documentation and source code here:
GitHub: augleao/onedrive-backup-machine
I’m actively evolving the project and would love to hear your feedback, feature requests, or help with testing!
