Two questions about how to recover unsaved files

Hi!!
This is my first post here
Thank you all for having me here
I have one issue and two questio

I use Writer quite a lot but many times I have the issue that I close the file without saving
Therefore, I ahve chosen the option “save every ten minutes”
However, I see no way to retrieve the files once you have closed without saving
In the box of the previous versions, there is none

So I have two questions

  1. What is the point of being able to tick “save automatically” if then
    you cant retrieve?
  2. I have noticed a few BAK files in the system
    I was trying to read them but this is what they look loike

[ハ7a]純ナ#wツニカU「ヲュ8n゙・スカ@・aw・bfワlア盧-ソマゅqラRBワ・Zメニ゚・・a/ノゥ捍V尹鴟ウ,-毆
'Y6ノ%羂7R35cオ2 I拜bノ・)4ホ ・世ルX2啾タp,#X縊~ヤ]v+nエ5ソnロiy艀'ヤツ S・?3碑Fコ・裵ッn・・・ソw找i}旙鉛フナウhm息V」ES褶>ケ>~ー・・ミニ"シ蔕 p・ャィZ_。メワョ設a嵭癖zケョ]W。ヤ@レurEuゥL^&テKn・ueハJトコャH・ワヲ覧・榊2・lΟx・D'抑キ]談瓜「Ⅶ邯Nイ,Ge・ヒ些フト8v・4ネミゥ鱠9n・
Thumbnails/thumbnail.pngPK YK~レG`・ ・

Is there any way to read such files and to see the content?

Hello,

I believe you may have some misunderstanding about the settings in Options. Under the Load/Save->General sections there are two settings which relate to your question. The first is the Save AutoRecovery information every: XX minutes. This setting is for the “lock” file which contains recovery information. If there is a crash or similar type problem, this file is used to attempt to recover your file.

The other setting, Always create a backup copy has no “save every XX minutes”. It is created and updated whenever you click on Save (button or menu) for the document. So if you open the document and never click “Save” there will not be a backup created. This file has the same name as the original but with an extension of .bak attached. It is stored in the directory specified in Options->LibreOffice->Paths under Type “Backups”. You can open this file by changing the extension to what it was originally or ‘open with’ on whatever OS you have.

Now if you want something which automatically saves backup copies, you need to find either an extension or use macros to create the backups. An excellent method using macros can be found on this post.

Point is that this “lock” system does not always work
Many times the system tells me the file is not recoverable
Then it says the file will be still saved in the docs folder
And it is not there
I wonder where the lock files are stored
They are deleted but you cant find them in the bin
It would be great if they could be stored
…somewhere

Is there any way to install this very interesting macro without much hassle into my system?
I have Windows . Please help

I assume not, but let me just try
Is there any way to find all the lock files that have been saved by the system in the past 10 days

If you get “…Many times the system tells me the file is not recoverable” then you are having problems with either the LO installed or your OS. Should not happen often. Locked files are created in the same directory as the document opened. If you open MyDocument.odt this file will be created - .~lock.MyDocument.odt#. If the document is closed without problem, the lock file will be deleted otherwise it is used to try to recover the problem document.

As for the referred to macro, if what you mean by “…without much hassle…” learning something, then no. It really involves little more than understanding, copying, pasting & changing a couple of numbers for your needs. Documentation on macros can be found here. Look at Chapter 13 - Getting started with Macros. Finding lock files in your system is an OS thing - I don’t do Windows.

Undertood.
So the lock files basically get deleted and they can not be recovered.

Sad
Thank u

I assume there is no way to recover lock files once deleted right

Even if they were recovered they are of little use. The information contained in these files are for recovery of damaged documents. They are not a copy of the original document. What you really need is to either occasionally save your document or use a backup macro/extension which requires pushing a button & saves a copy or use the macro mentioned previously which requires you to do nothing other than install and activate.

Understood
Unfourtnaltey I am not a programmer so I can not do anything. Thanks anyways

When you modify an opened document and close the document or close LO you get a prompt saying that the changes will be lost if you don’t save. You have to click a button to save or close so why don’t you click the save button?

If I pressed save that time I would not be here asking :slight_smile: