home-assistant: Configure BURP backups

Take a snapshot of the history database first, then back up everything
in `/var/lib/homeassistant`.
This commit is contained in:
2021-12-17 20:57:38 -06:00
parent fdfdaa6fe6
commit 739ffb2845
3 changed files with 11 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ mosquitto_listeners:
- port: 1883
address: ::1
mosquitto_password_file: /etc/mosquitto/passwd
mosquitto_acl_file: /etc/mosquitto/acl
apache_default_ssl_vhost: false
homeassistant_server_name: homeassistant.pyrocufflink.blue
homeassistant_update: false
@@ -17,3 +18,8 @@ zigbee2mqtt_update: '{{ homeassistant_update|bool }}'
collectd_df:
FSType: overlay
IgnoreSelected: true
burp_backup:
- include: /var/lib/homeassistant
burp_backup_script_pre: /etc/burp/backup-pre.sh