# Two questions about how to recover unsaved files

This post is a wiki. Anyone with karma >75 is welcome to improve it.

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ﾗR Bﾜ・Zﾒﾆﾟ・･/ﾉｩ捍V尹鴟ｳ, -毆 'Y6ﾉ%羂7R35cｵ2 I拜bﾉ・)4ﾎ ・世ﾙX2啾ﾀp,#X縊~ﾔ]v+nｴ5ｿnﾛiy艀'ﾔﾂ S・?3碑Fｺ・裵ｯn・・・ｿw找i}旙鉛ﾌﾅｳhm息V｣ES褶>ｹ>~ｰ・・ﾐﾆ"ｼ蔕 p･ｬｨZ_｡ﾒﾜｮ設嵭癖zｹｮ]W｡ﾔ@ﾚurEuｩL^&ﾃKn・uﾊ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?

edit retag close merge delete

Sort by » oldest newest most voted

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?

more

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

( 2017-10-29 12:54:02 +0100 )edit

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.

more

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

( 2017-10-29 12:53:42 +0100 )edit

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

( 2017-10-29 12:59:26 +0100 )edit

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

( 2017-10-29 13:01:09 +0100 )edit

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.

( 2017-10-29 13:58:55 +0100 )edit

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.

( 2017-10-29 14:04:20 +0100 )edit

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

( 2017-10-30 11:45:52 +0100 )edit

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

( 2017-10-30 13:39:55 +0100 )edit

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.

( 2017-10-30 15:31:37 +0100 )edit

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

( 2017-11-01 01:11:09 +0100 )edit