LO saves the backup files in the "backup" directory.
Each backup file is given the filename extension *.bak.
I have the original files xxx.odt and xxx.ods. Both get the backup filename xxx.bak in the backup directory.
So the xxx.bak file has sometimes the content of xxx.odt or xxx.ods.
The backup files should be named xxx.odt.bak and xxx.ods.bak.
Confirmed. Set as enhancement.
Best regards. JBF
@Jean-Baptiste Faure, could you please provide the steps to reproduce it?
(In reply to Xisco Faulí from comment #2)
> @Jean-Baptiste Faure, could you please provide the steps to reproduce it?
- configure LO to make backups: menu Tools > Options > Load/Save > Check "Always create backup copy"
- create two files, one text document and one spreadsheet with the same basename; for example test.odt and test.ods
- open test.ods, change something, save and close the file -> you have a backup test.bak in the backup directory
- open test.odt, change something, save and close -> you still have a backup test.bak and it is a copy of test.odt, the copy of test.ods has been overwritten.
I agree that this use case is a bad workflow, but sometimes it may arise for good reason.
Now, I am not sure if that behavior should not be considered as a bug instead of an enhancement request. Indeed it works as designed but in some corner case there is dataloss (the backup of the first file).
Best regards. JBF
Why an enhancement?
All over the world, a backup function has the sole task of backing up the original file. And that is not guaranteed now. So it's a bug in the backup feature.
Version: 220.127.116.11 / LibreOffice Community
Build ID: fe0b08f4af1bacafe4c7ecc87ce55bb426164676
CPU threads: 8; OS: Linux 5.3; UI render: default; VCL: kf5
Locale: en-US (en_US.UTF-8); UI: en-US
(In reply to wf-ps from comment #4)
> Why an enhancement?
> All over the world, a backup function has the sole task of backing up the
> original file. And that is not guaranteed now. So it's a bug in the backup
Completely agree - This is a bug (and IMO a serious one)