FEATURE: Delete backups based on time window (#24296)

* FEATURE: core code, tests for feature to allow backups to removed based on a time window

* FEATURE: getting tests working for time-based backup

* FEATURE: getting tests running

* FEATURE: linting
This commit is contained in:
marstall
2023-12-13 13:00:27 -05:00
committed by GitHub
parent 6731eec42a
commit 0513865c3c
7 changed files with 52 additions and 12 deletions

View File

@ -35,7 +35,6 @@ module BackupRestore
def delete_file(filename)
path = path_from_filename(filename)
if File.exist?(path)
File.delete(path)
reset_cache