Backup files not being purged

Dave Musicant musicant at gmail.com
Wed Mar 18 07:15:02 EDT 2009


Thanks all for your responses: in addition to getting the bug filed
(thanks, David!), you've supplied me with some workarounds in the
meantime.

--
Dave

On Wed, Mar 18, 2009 at 12:38 AM, David T. <sunfish62 at yahoo.com> wrote:
>
> Andrew (and others)--
>
> While it is true that one can devise different schemes for deleting the burgeoning file bloat that Gnucash is creating, the fact remains that Gnucash presumably is supposed to handle this automatically. That is, at least, what I assume the "Retain log files x days" setting is meant to control.
>
> Unfortunately, Gnucash isn't performing this housekeeping in Mac OS X.
>
> Filed a bug on this:
> http://bugzilla.gnome.org/show_bug.cgi?id=575789
>
> David
>
> --- On Tue, 3/17/09, Andrew Sackville-West <andrew at swclan.homelinux.org> wrote:
>
> > From: Andrew Sackville-West <andrew at swclan.homelinux.org>
> > Subject: Re: Backup files not being purged
> > To: gnucash-user at gnucash.org
> > Date: Tuesday, March 17, 2009, 8:24 AM
> > On Tue, Mar 17, 2009 at 09:16:07AM -0400, Donald Allen
> > wrote:
> > > On Tue, Mar 17, 2009 at 8:51 AM, Mike or Penny Novack
> > <
> > > stepbystepfarm at mtdata.com> wrote:
> > >
> > > >
> > > > >I also see no deletion of backup files (OS X
> > 10.5.6, Gnucash Aqua
> > > > >installed via MacPorts).
> > > > >
> > > > >
> > > > >
> > > > I've noticed the large buildup too. Except
> > hadn't thought about it as I
> > > > don't have a time limit set (entry of
> > transactions sporadic so could
> > > > require a long period between).
> > > >
> > > > However -- I do have a suggestion for making the
> > deletion easier.
> > > >
> > > > You have your books in a directory dedicated to
> > that purpose. The
> > > > backups get placed there too. When you decide too
> > many, just copy the
> > > > books and the last X pairs of backups (whatever
> > you decide enough for
> > > > safety) into another directory, delete the first
> > directory and all it's
> > > > contents, reallocate it, and move what you copied
> > back. It's what I do
> > > > if I have many tens of pairs to delete.
> > >
> > >
> > > It'll work, but it seems too complicated. I
> > haven't used a Mac in 15 years,
> > > but presumably the Mac has a nice filesystem browser
> > (it's a Mac, after
> > > all). It shouldn't be hard to display the
> > directory holding the Gnucash
> > > files, logs, and backups in descending chronological
> > order. It also
> > > shouldn't be hard to select files from N days ago
> > through the earliest and
> > > delete them and you're done. You can even do this
> > easily with Windows, the
> > > World's Most Annoying Operating System :-)
> >
> >
> > and for those who want to come out of the church of mac and
> > worship
> > in your friendly neighborhood shell there is always
> >
> > find /path/to/gnucash/files -atime +60 -exec echo rm -f
> > '{}' \;
> >
> > USE WITH CAUTION UNTIL YOU KNOW HOW FIND WORKS
> >
> > to remove everything over 60 days old
> >
> > once you know that it does what you want, remove the echo
> > and it will
> > actually work.
> >
> > note that here be dragons. you have been warned.
> >
> > ;-P
> >
> > A
> > _______________________________________________
> > gnucash-user mailing list
> > gnucash-user at gnucash.org
> > 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
> 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