A full snapshot via the UI looks like this:
An automation that performs a daily snapshot looks like this:
- alias: Daily Backup at 3 AM
trigger:
platform: time
at: '3:00:00'
action:
- service: hassio.snapshot_full
data_template:
name: Automated Backup {{ now().strftime('%Y-%m-%d') }}
- service: notify.slack_notify
data_template:
message: Creating backup named "Automated Backup {{ now().strftime('%Y-%m-%d') }}"
A partial snapshot of just the Node-RED addon via the UI looks like this:
An automation that performs a daily partial snapshot of just the Node-RED addon looks like this:
- alias: Daily Backup of Node-RED
trigger:
platform: time
at: '3:00:00'
action:
- service: hassio.snapshot_partial
data_template:
name: "27e642c6_nodered {{ now().strftime('%Y-%m-%d') }}"
addons:
- 27e642c6_nodered
- service: notify.slack_notify
data_template:
message: Creating backup named "27e642c6_nodered {{ now().strftime('%Y-%m-%d') }}"