IDE2.2.1 does not overwrite existing backup file

If I want to overwrite existing backup.ino file with an upgraded orig.ino
it says backup.ino exists you want to overwrite? I said yes. it does without error, but it does not do it.

Hi @antal_peter. The Arduino IDE developers are tracking this bug here:

If you have a GitHub account, you can subscribe to that issue to get notifications of any new developments related to this subject:

image