[GNC] How to save Gnucash and Lock file issues

David Cousens davidcousens at bigpond.com
Mon Dec 3 22:13:38 EST 2018


Lorrie,

That looks OK apart from not creating the backup file which should have been
created when you opened the file to to make the change , saved it and then
closed the file. (I noticed in an earlier post you mentioned adding an .xml
file extension. There is no need to do that as the .gnucash is the correct
extension.)

There should have been a file

finances.gnucash.<date-timestamp>.gnucash

with the same <date-timestamp> roughly as the log file. It may differ by a
few seconds.
<date-timestamp> has the format "YYYYMMDDHHMMSS". 

In most cases the datestamp on the log file and the backup file only differ
by 1-2 s on my system with the backup file created first and then the log
file.

There is a preference in the Edit->Preferences General tab where you can set
the file retention period for the backups and log files.  I usually leave it
at the default of 30 days as I have terrabytes of free space on my system
but it is generally a good idea to set this so you have a few backup and
logfiles on your system so you can recover maximum data if you ever have a
file corruption issue. This is only likely if GnuCash or the OS crashes
while writing to the file.

David Cousens



-----
David Cousens
--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html


More information about the gnucash-user mailing list