Data loss after crash

Hi KMyMoney team,

KMyMoney 5.1.3 (OpenSuse Distribution)

After a crash (I don’t care why it happened) all the data since the last saving was gone.

Is it not possible to open/recreate the last working file in KMyMoney?
I know this from other programs, financial programs such as Skrooge.
After all, KMyMoney works with extremely sensitive data.

I was able to restore most of it, but I can’t restore a transfer without doing it again… and of course that’s not possible.

greetings
Udo

Any data entered since the last saving was only stored in memory, so I’m sorry to say I know of no way to recover anything other than that last saved file. (That’s why I often advise to save early and often.) KMyMoney has no concept of “working file” that I am aware of. Even if using the SQL back end, the data is only written out by an explicit save, not per transaction of other action.

I am not familiar enough with Skrooge to know if they do anything differently, and if so, what. I suppose it might be worth filing a wishlist for KMM to save a sort of journal of activity to a (temporary) file, and empty/replace that file whenever the data is actually saved.

In terms of recovering the data from a transfer, while you certainly can’t/don’t want to repeat the transfer, you should be able to recover the data by downloading that transaction from either or both of the institutions/accounts involved.

Hi Jack,

Thanks for your answer.

Well… I was able to restore (almost) everything. It was just a bit of manual work and thinking of everything that was still there.

But the only data that is missing and that I can’t restore is the data in the outbox.

I saw in the “Settings” that it is possible to save automatically every x minutes. I have now set it to 5 minutes.
That’s actually still a lot, but I work with SQLCipher (and will stick with it) and saving takes a bit longer anyway.
We’ll see if I can manage it.

greetings
Udo

Hi Jack,

After I just had another crash with KMyMoney, I can understand why.
I right-clicked on a data record in the outbox.
Just did it several times, no matter which data record.

I hope this is fixed in a future version.

greetings
Udo

I use this all the time with the current master and it does not crash. Could be, that I resolved it a while back.

Hi Thomas,

wouldn’t it be nice if that were the case… :upside_down_face:

greetings
Udo