[GNC] Crash on account delete

Stephen Rudolph stephenmrudolph at gmail.com
Tue Jan 17 14:12:10 EST 2023


Adrien Monteleone posted in reply to Xe Roy

     > The lost transactions were in other accounts.
     > I assume that when the program crashed, I lost everything since
    the last automatic save.
    Highly likely.

    Investigate your auto-save interval in the meantime. Maybe a shorter
    one
    will help, or else:

I'm curious if the gnucash log file would not have helped in this case. 
It records (entered) transactions since the last save so it doesn't rely 
on the automatic save interval.  I've only used this capability once and 
it worked very well. The tutorial says,

    In case you exit GnuCash inadvertently, possibly due to a power
    outage or a system wide crash, it is
    possible to recover most of your work since the last time you saved
    your GnuCash file using this log file.
    This is the procedure:
    1. Open the last saved GnuCash file.
    2. Go to File → Import → Replay GnuCash .log file and select the one
    .log file with the same date as the
    saved file you just opened. Make sure that you picked the right .log
    file, or you will possibly wreak
    havoc in your accounts.
    Log replaying will recover any transaction affecting the balance
    entered since the last save, including those
    created from scheduled transactions and business features (invoices,
    bills, etc.).

FWIW.


More information about the gnucash-user mailing list