Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<Feature Request>The ability to bulk select backups for deletion #74

Open
tonyfitzs opened this issue Oct 4, 2022 · 4 comments
Open

Comments

@tonyfitzs
Copy link

Hi, first up. I love this add-on. It has saved me hours in making sure all my Tasmota devices are backed up.
But one thing I didn’t realise is that if you don’t set limits on the number of backups, then you will run out of space on your hardware at some point. So to clean up space, it would be really useful to have a purge function that you can clean up all backups that are over x days old AND/OR the capability to bulk select backups and then delete them for each individual device. That way, you can bulk delete and still save backups if you are trying to diagnose a fault or something.

@patrickdk77
Copy link
Collaborator

Why not use the already included options to do this?

Backup Max Days Old to keep
Backup Max Count to keep

generally if you don't delete backups, it should take a decades to fill up a storage device, at 4k per backup per device, it will take a very long time to fill up any normal sized device these days, I normally keep 45days of backups personally.

The two values work together, they both must be true, before it will delete a backup, say
Max Days is 45
Max Count is 10

Then the backup must be >45days old, and there must be >10 backups of that device, before it will removed.

@tonyfitzs
Copy link
Author

tonyfitzs commented Oct 4, 2022 via email

@patrickdk77
Copy link
Collaborator

If this is a bug I am going have to get a lot more information, screen shots of how many backups you have on devices, the settings you have configured.

The prune job is not run till after a new backup has been created for that device, so if you just set those settings, nothing will happen till the next backup is taken.

What do you mean by once they are captured though? they have to be captured long ago for backups to be created.

@tonyfitzs
Copy link
Author

tonyfitzs commented Oct 4, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants