pa-wills / Home-Assistant-Config

This is my Home Assistant config repo. Just yamls at this very early stage.
0 stars 0 forks source link

Feature delete old backups #115

Closed pa-wills closed 3 years ago

pa-wills commented 3 years ago

Feature to automatically rm backups older than ~3 days old.

pa-wills commented 3 years ago

Leave this to run until the weekend. If it's working ok on Sunday, then ok to merge to main.

pa-wills commented 3 years ago

The code is correct, but I think the way the automation executes - it's not as root on the full runtime-environment.

So, i think i need to substantially alter my approach here.

pa-wills commented 3 years ago

https://community.home-assistant.io/t/tips-for-shell-command-and-auto-deleting-old-snapshots/207688

pa-wills commented 3 years ago

That seems to have fixed it.