django-dbbackup icon indicating copy to clipboard operation
django-dbbackup copied to clipboard

Cleanup should work for subfolders too.

Open davidmarogy opened this issue 4 years ago • 0 comments

Feature Request

Please help us help you by filling out any applicable information in this template and removing the rest!

Is your feature request related to a problem?

Currently i have the problem that i want to store my backups in subfolders (daily, monthly). And to clean each subfolder by itself. But cleanup does not work that way, it will only look at the previous defined DBBACKUP_STORAGE_OPTIONS = {'location': '/my/backup/'}. But in my backup location i want subfolder, which should also be cleaned.

Describe the solution you'd like

What i want ist to get the files cleaned in each subfolder. So if i set the DBBACKUP_CLEANUP_KEEP to 3 in each subfolder should only be 3 backups keept.

davidmarogy avatar Nov 23 '21 09:11 davidmarogy