File Corruption (laptop? multi-machine sync?)

(my first issue,) I have lost a few files recently - filled with null characters. I’m a new Obsidian user and love it, but having files corrupted is a show stopper for me and I’ll go back to Evernote if I can’t get to the bottom of it.

I have two vaults, both syncing. The vault with corruption has two differences from the other; 1. I use it on two machines instead of 1 and 2) it’s a laptop (no battery dead crashes) which often suspends and resumes.

Another potential clue – the files had attachments and the attachments are also corrupted.

I’ve turned on file recovery and increased the time for retention, which should help in the future, but would rather think of restoring from backup as for exceptional cases like power failure or HW crashes.

I have no idea when these files first became corrupted.

Steps to reproduce

I don’t know what caused the problem. The result is a file filled with null characters.

Expected result

Sorry, it was a file filled with useful data (which is what I expected when I opened it again), now it is filled with null characters

Actual result

nulls

Environment

  • Operating system: Windows 10 Enterprise 21H2 19044.2006
  • Debug info:
    YSTEM INFO:
    Obsidian version: v0.15.9
    Installer version: v0.15.9
    Operating system: Windows 10 Enterprise 10.0.19044
    Login status: logged in
    Catalyst license: insider
    Insider build toggle: off
    Live preview: on
    Legacy editor: off
    Base theme: dark
    Community theme: none
    Snippets enabled: 0
    Restricted mode: off
    Plugins installed: 1
    Plugins enabled: 1
    1: Tasks v1.15.0

Additional information

This happens when the file writing on disk did not go well.

Obsidian Sync also has a file history for markdown files.

I use it on two machines instead of 1

What does this mean? Is the vault in external drive and you use it in multiple computers?

About file writing on disk not going well – how is obsidian different that my other applications? I have had no other write problems to disk on these machines.

About two machines, I mean that I have two separate computers (each with their own disks) that stay synced through obsidian sync.

Thanks for the comment about the obsidian sync history – I’ll take a look and see if I can find those.

It isn’t.