#Is there a way to automatically backup?
1 messages · Page 1 of 1 (latest)
My backup tuns nightly, and purged old ones. One program back=s up to the backup drive and a local HDD. Another sends a copy to a google drive.
Add-ons make this possible for me.
https://www.home-assistant.io/common-tasks/os/#copying-your-backups-to-another-location
I have an automation I'm using to take daily backups:
alias: 'System: Daily backup'
description: ''
trigger:
- platform: time
at: 00:00:00
condition: []
action:
- service: hassio.backup_full
data:
password: !secret backup_password
name: "{{ now().strftime('%Y-%m-%d %H:%M') }}: Full backup"
mode: single
That has a list of add-ons, most of them do the unattended stuff for you. None of my backup stuff is done in HA, except it uses HA to generate the backup itself. The Add-ons do it.
Auto Backup off HACS is pretty solid for me for making frequent partial backups, and occasional long-term backups, as well as handling deleting/retiring long term backups
I use the one drive backup addon. It manages local and cloud retention, including monthlies, etc.
I use Auto Backup to backup and automatically purge local backups.
I came to recommend the same add-on