[GNC] Logs and Backups
Ken Pyzik
pyz01 at outlook.com
Fri Jun 19 01:09:18 EDT 2026
Thank Tom. Appreciate the information. I do realize that the backups are small. I am more about efficiency. 90 backups, for me, is, way too excessive. Think about it — if you restored from backup number 45 - what good would it be? My guess is you would probably never restore from anything more than 3 backups - so that is 87 (x2 log plus backup) files sitting on your storage space just doing nothing. But that's my thought process.
Anyway, I think this is an issue only because, IMO, there is no good default. While the 30-day default might be fine for most people, I have heard several people say they do not go into the system every day. If they only go in once a month or once every two months - the risk exists that they may not have a backup file. By the same token, if someone goes in every day or multiple times a day and does not realize the default is 30 days - then they could have 30, 60, 90 backups (or more) which to me is very inefficient.
So, I think this is more about letting others know so that they can change the setting to fit their need. I have been using the system for many years and never realized this fact. I just wanted to verify that my understanding was correct so that I can adjust accordingly.
Ken
________________________________
From: Tom Route36 <tom.route36 at gmail.com>
Sent: Thursday, June 18, 2026 9:14 PM
To: Ken Pyzik <pyz01 at outlook.com>
Cc: Gnucash Users <gnucash-user at gnucash.org>
Subject: Re: [GNC] Logs and Backups
Hi Ken,
The number of backups you have is dependent on your Auto-Save Time Interval and how long GnuCash is open (and also depends on if you're manually doing saves). If you set the Auto-Save Interval to zero, then you've disabled Auto-Save, and the number of backups will be totally determined by you -- whenever you decide to do a save.
BTW, I'm not sure that you need to be concerned about limiting backups. I have over 30 years worth of data in my GnuCash data file; and it's only 11 MB in size. So disk space isn't really an issue. I have my backup retention time set to 21 days; and currently I have about 90 backups. For me, having multiple backups is more reassuring than a bother. Just my opinion.
Tom
On 06/18/2026 07:48 PM, Ken Pyzik wrote:
OK - I think I may have found the answer to my own question. In the EDIT>>Preferences>>General, there is a setting to Retain Logs/Backup files with three options - Never, For X number of days or Forever. The default appears to be 30 days. Now this is interesting.
If this is true - which I believe it is - this means that if you go into Gnucash every day, you can end up with up to 30 or 31 logs and backup files. So, someone could assume that they could just change it to 3 days and that would be fine. However, if you do NOT open Gnucash everyday - but instead open it up once a week, you would need keep the logs for 21 days in order to have 3 backups. By the same token, if you are someone who only opens Gnucash once a month - or only once every couple of months, you would need to keep the files for up to 60 or 90 days in order to get 3 full backups.
I am guessing that this is the behavior and that it has probably been this way forever. I am also guessing that if you only want 3 backups definitively - you have to adjust the days accordingly to the way you use the system - i.e., how often you open and work with the files. And if you go into the system multiple times a day - you could end up with A LOT of backups and logs files.
Is this behavior correct? If yes, would changing it to be a definitive number be difficult? I assuming it is, otherwise I would have thought it would have been changed by now.
Ken
________________________________
From: gnucash-user <gnucash-user-bounces+pyz01=outlook.com at gnucash.org><mailto:gnucash-user-bounces+pyz01=outlook.com at gnucash.org> on behalf of Ken Pyzik <pyz01 at outlook.com><mailto:pyz01 at outlook.com>
Sent: Thursday, June 18, 2026 6:05 PM
To: Gnucash Users <gnucash-user at gnucash.org><mailto:gnucash-user at gnucash.org>
Subject: [GNC] Logs and Backups
This may have been mentioned in the past - and if so - sorry for the repeat. However, I noticed today 10 ".log" and 10 ".<<date>>.gnucash" files. So, I am assuming that gnucash is keeping 10 transaction and log file backups. Is this correct? If so, is this the default and if it is the default, can this be changed to only 2 or 3? Thanks for the reply.
_______________________________________________
gnucash-user mailing list
gnucash-user at gnucash.org<mailto:gnucash-user at gnucash.org>
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
_______________________________________________
gnucash-user mailing list
gnucash-user at gnucash.org<mailto:gnucash-user at gnucash.org>
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
More information about the gnucash-user
mailing list