Can't delete a backup files. Error: dataset is busy

Lolek

Cadet
Joined
Apr 12, 2022
Messages
2
I've got an everyday Cron Job, that checks if my apps are up to date, if not, it upgrade it and make a backup copy. When the set number of copies is exceeded, the oldest should be deleted. But for some time, created copies are no longer deleted.
When I try to delete it manually:
Code:
cli -c 'app kubernetes delete_backup backup_name='"Lolo_2022_05_15_04_00_01"

I've got:
Code:
Error: dataset is busy


Any suggestion, what happened?
The situation has been going on since May 15th, maybe it happened after upgrading to version 22.02.1, but only today I noticed the problem.
 

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,694
Try 22.02.2.

Report a bug if not fixed... can you confirm its all datasets or just specific ones?
 

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,694
22.02.2 no change.

It's interesting, I have managed to manually remove 10 out of 42. One that cannot be removed is "system-update--date", the rest are updates created by my script.

"report-a-bug" and we can see what is happening.
 
Top