Backup your Home Assistant configuration or backups to over 40 cloud providers using Rclone.
This pairs well with the custom integration Auto Backup which provides a highly configurable way to create backups and have them deleted after a given period.
Rclone Backup can sync specific backups, e.g. backups starting with AutoBackup*
to a cloud provider, and when that backup is deleted from Home Assistant it will be removed from the cloud provider as well.
You can also directly sync your Home Configuration e.g. /config
, /share
, /ssl
, /media
to a cloud service or to another machine using SFTP. Rclone is smart and will only upload changed files.
The addon also supports monitoring rclone and configuring or exploring remotes through rclone-webui-react.
Add the repository URL under Supervisor → Add-on store → ⋮ → Manage add-on repositories
https://github.com/jcwillox/hassio-rclone-backup
Rclone is a powerful tool, you could for example use the crypt
and googledrive
remotes to automatically encrypt your backups and upload them to google drive.
rclone.conf
[google]
type = drive
scope = drive
token = REDACTED
; immediately delete backups instead of sending them to the trash
use_trash = false
[hassbackup]
type = crypt
remote = google:Backup/Home Assistant
filename_encryption = off
directory_name_encryption = false
password = REDACTED
password2 = REDACTED
Addon configuration
jobs:
- name: Sync Daily Backups
schedule: 10 4 * * *
command: sync
sources:
- /backup
destination: 'hassbackup:'
include:
- DailyBackup*
exclude: []
# we can also disable google drive trash using flags
flags:
drive-use-trash: false
dry_run: false
config_path: /config/rclone.conf
This is a list of providers this addon supports synchronizing backups with, for an up-to-date list see rclone.org/#providers.
1Fichier, Alibaba Cloud (Aliyun) Object Storage System (OSS), Amazon Drive (See note), Amazon S3, Backblaze B2, Box, Ceph, Citrix ShareFile, C14, DigitalOcean Spaces, Dreamhost, Dropbox, Enterprise File Fabric, FTP, Google Cloud Storage, Google Drive, Google Photos, HDFS, HTTP, Hubic, Jottacloud, IBM COS S3, Koofr, Mail.ru Cloud, Memset Memstore, Mega, Memory, Microsoft Azure Blob Storage, Microsoft OneDrive, Minio, Nextcloud, OVH, OpenDrive, OpenStack Swift, Oracle Cloud Storage, ownCloud, pCloud, premiumize.me, put.io, QingStor, Rackspace Cloud Files, rsync.net, Scaleway, Seafile, SeaweedFS, SFTP, Sia, StackPath, SugarSync, Tardigrade, Tencent Cloud Object Storage (COS), Uptobox, Wasabi, WebDAV, Yandex Disk, Zoho WorkDrive, The local filesystem.