TailorDev / Watson

:watch: A wonderful CLI to track your time!
http://tailordev.github.io/Watson/
MIT License
2.41k stars 237 forks source link

Frames file reset without notice #499

Open Manokha opened 1 year ago

Manokha commented 1 year ago

I lost all my frames twice recently. The first time I was very lucky:

I though then that I would have access to a backup file when such things happen and moved on.

Yesterday, I lost all my frames again, but this time I realised it only one week after the loss. And frames.bak had been overwritten (probably a lot of times) since then. Which means I lost 4 months of time frames with no way of retrieving them.

Maybe I missed an error/warning message of some sort but:

joelostblom commented 1 year ago

That sounds quite worrying. I usually backup my frames file via a third party client in case something like this would happen, but haven't encountered it yet myself. What watson commands do you usually use? Do you mostly log data, or also work with reporting or any of the other subcommands?

Manokha commented 1 year ago

@joelostblom Hello, the commands I use daily are:

This reminds me that I sometimes forget to stop a frame and shutdown the computer, then stop it the next day with --at, and the first time I lost frames was actually one of those occurrences (can't say about the second one since I didn't notice it right away, but it could be).

My watson version is 2.0.1 (speaking of which I'm going to upgrade to 2.1.0). I started backing up my frames as well :)