Ask Your Question
0

Two questions about how to recover unsaved files

asked 2017-10-26 16:41:11 +0100

this post is marked as community wiki

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ノ%羂7R35cオ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 flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
0

answered 2017-10-26 19:02:42 +0100

peterwt gravatar image

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?

edit flag offensive delete link more

Comments

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

TeoItalia gravatar imageTeoItalia ( 2017-10-29 12:54:02 +0100 )edit
0

answered 2017-10-26 19:55:08 +0100

Ratslinger gravatar image

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.

edit flag offensive delete link more

Comments

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

TeoItalia gravatar imageTeoItalia ( 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

TeoItalia gravatar imageTeoItalia ( 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

TeoItalia gravatar imageTeoItalia ( 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.

Ratslinger gravatar imageRatslinger ( 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.

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

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

Sad Thank u

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

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

TeoItalia gravatar imageTeoItalia ( 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.

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

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

TeoItalia gravatar imageTeoItalia ( 2017-11-01 01:11:09 +0100 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-10-26 16:41:11 +0100

Seen: 682 times

Last updated: Oct 26 '17