# Data loss - 0 byte files (revisited)

**URL:** <https://forum.obsidian.md/t/data-loss-0-byte-files-revisited/17953>\
**Category:** Bug graveyard\
**Tags:** upstream-bug\
**Created:** [May 10, 2021, 7:06pm UTC](https://forum.obsidian.md/t/data-loss-0-byte-files-revisited/17953 "2021-05-10T19:06:26Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![luckman212](https://forum.obsidian.md/user_avatar/forum.obsidian.md/luckman212/32/3445_2.png) [@luckman212](https://forum.obsidian.md/u/luckman212)\
**Post date:** [May 12, 2021, 1:50pm UTC](https://forum.obsidian.md/t/data-loss-0-byte-files-revisited/17953/9 "2021-05-12T13:50:41Z")

</div>

@pmbauer Thanks. True, I’d considered that as well. But, I don’t use that “optimize” feature:

![image](https://forum.obsidian.md/uploads/default/original/2X/d/d11c53d1c4b70ba7ff71cf44ffc09fe7fac4dabf.png)

Not to say there might not be a bug on Apple’s end (I’ve had my fair share of iCloud problems over the years). When I check right now, all of my files say “Downloaded” though.

![image](https://forum.obsidian.md/uploads/default/original/2X/b/bb019a54df57f780a673f9930b87a99c30ee1333.png)

I also have a bash script that periodically checks the iCloud database (directly via SQLite) for “stuck” items (you can see these with `brctl status` also) and reports those errors to me. So I try to stay on top of iCloud shenanigans.

Bigger picture I’m thinking as my vault gets larger and more important, that my best move will be switching to Obsidian Sync and/or a git repo combined with a periodic 1-way sync up to iCloud to be able to view on mobile.

---

_[View the full topic](https://forum.obsidian.md/t/data-loss-0-byte-files-revisited/17953)._
