I try to reduce my databsse size.
All metrics are shipped to prometheus so there is no need to have it here in a long-term storage.
Created this automation but my backup size isn't decreased.
Am I doing something wrong?
alias: Purge it baby
description: ""
triggers:
- trigger: time
at: "04:15:00"
conditions: []
actions:
- action: recorder.purge
data:
repack: true
keep_days: 365
- action: recorder.purge_entities
metadata: {}
data:
keep_days: 365
mode: single