saltyorg / Saltbox

Ansible-based solution for rapidly deploying a Docker containerized cloud media server.
https://docs.saltbox.dev
GNU General Public License v3.0
571 stars 65 forks source link

archived delete #147

Closed N-sherwood closed 11 months ago

N-sherwood commented 1 year ago

Hello I think great idea for Backup so can we have delete automatic delete for old backup like one month old or set keep 2 archived at time by setting or cron Thanks

saltydk commented 1 year ago

This would likely have to be a separate role seeing as we can offer no guarantees as to if it would end up deleting the only viable backup present, which is why we keep everything so that the user can sort that out themselves.

As per our discussions in the dev discord channel this has some downsides that we're not entirely sure if we can live with. Mostly the above. I am not opposed to making a role for it but it will not deliver any guarantee against backup data loss.