General ⇒ How to open Lyx backup file
How to open Lyx backup file
How can I open the ***.lyx~ file to recover the ***.lyx document?
Quote from the past answer:
Take a look if you can see a .lyx~ file, that is, with a tilde at the extension. This would be a backup file created by LyX that you could use. First of all, copy all the documents in the folder, such as on a flash drive, before you try anything. Try opening the .lyx~ file or remove the tilde and then open with LyX.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Ijon Tichy
- Posts: 640
- Joined: Mon Dec 24, 2018 10:12 am
How to open Lyx backup file
→ How to Change File Type in Windows 10
Alternatively you can use TeXworks to open the file and use
Save as
to save it with another extension. To do so, you have to deseclect the automatic extension setting in the Save as
dialog. TeXworks is part of MiKTeX and TeX Live.BTW: Don't forget to make a copy before you rename the file! If something fails, you could be without backup otherwise.

How to open Lyx backup file
I opened the ***.lyx~ file with FILExt, an online Lyx Text Viewer (https://filext.com).
After opening the ***.lyx~ file online, I clicked 'save as Lyx' to download the file to my pc. The downloaded file had a name with extension, so I could changed the name (extension) to ***.lyx
The backup file became Lyx document, which is the last version I was working on. Thankfully, I have recovered crushed Lyx document from the backup file.
I hope this information would be useful for somebody facing the same problem.
- Ijon Tichy
- Posts: 640
- Joined: Mon Dec 24, 2018 10:12 am
How to open Lyx backup file
BTW: I can even use LyX to open the backup file. Just do
File
→ Open …
, edit the filter field to change LyX Documents
into *.*
and then select the backup file. Open with …
from the Windows Explorer context menu (right click to the file) may also work.Using an external online service is always a trusting problem and in several scenarios not allowed. So I would always try a local, build in solution. Just my two Cent.
