jcwillox / hass-auto-backup

🗃️ Improved Backup Service for Home Assistant that can Automatically Remove Backups and Supports Generational Backup Schemes.
https://jcwillox.github.io/hass-auto-backup
MIT License
368 stars 27 forks source link

Feature Request: Keep_hours #18

Closed simon2k13 closed 4 years ago

simon2k13 commented 4 years ago

Hi, i run partial snapshots for some of my data every 2 hours.

i would like to keep the snaps only for 12 hours. how can i accomplish that?

jcwillox commented 4 years ago

keep_days actually allows decimal numbers so you can just enter keep_days: 0.5 for half a day or 12 hours. This can even do seconds keep_days: 0.00001.

simon2k13 commented 4 years ago

Thanks!