[Koha-bugs] [Bug 30627] koha-run-backups delete the backup files after finished its job without caring days option

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 27 13:51:00 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30627

--- Comment #1 from Mengu Yazicioglu <mengu at devinim.com.tr> ---
First findings:

and a correction, if there are some other files in the backup destination
directory, script also counts them and this makes the problem.

In the remove part of script, sed "s:^$name ... part removes the instance name
and expects only related backup files, but if somehow there are some other
files, backups are being deleted

It could be better to find older files with find command maybe.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list