Questions Regarding Backup and Stopping Gnucash

Robert Heller heller at deepsoft.com
Mon Sep 23 16:47:35 EDT 2013


At Mon, 23 Sep 2013 12:39:28 -0700 Mark Phillips <mark at phillipsmarketing.biz> wrote:

> 
> Derek,
> 
> As the OP, I would like to jump in here as the topic has drifted away from
> my original post. My original question has morphed slightly into - what is
> the recommended way to stop gnucash from the command line on Linux? In
> other words, if I want to have a backup script kill gnucash at 3 AM because
> I forgot to stop it, is there a recommended way to do it?

So long as you *saved* the data, there is probably no particular reason to
bother stopping gnucash. If you either remembered to hit the Save button or if
the autosave is doing its thing, you data is safe. The *only* downside is the
fact that is gnucash happens to be running when the backup runs, the lock file
will get backed up, which is really harmless, even if you restored a backup 
with a lock file in it.  At worst, gnucash will complain (mildly) on startup 
in that case.  Presumably you would know that a lock file was 'restored' with 
the backup and just tell gnucash to disregard the lock file and open the file 
anyway.  Not really a big deal.

Gnucash is not the sort of application that expects 'remote' shutdown, since 
it isn't a daemon (which do expect to get various sort of signals telling them 
to shutdown -- eg as from a shutdown script). And there really isn't a reason 
to add such a feature.

> 
> Thanks,
> 
> Mark
> 
> 
> On Mon, Sep 23, 2013 at 8:17 AM, Derek Atkins <warlord at mit.edu> wrote:
> 
> > prl <prl at ozemail.com.au> writes:
> >
> > > In the OS X version of GnuCash, Preferences>General has a setting for
> > > Auto-save interval - and it doesn't appear possible to turn it off. I
> > > think that my setting of 5 minutes is the default.
> >
> > It is.  Set it to 0 to turn it off.
> >
> > > Presumably GnuCash on other systems has a similar facility.
> > >
> > > Peter
> >
> > > Please remember to CC this list on all your replies.
> > > You can do this by using Reply-To-List or Reply-All.
> >
> > -derek
> >
> > --
> >        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
> >        Member, MIT Student Information Processing Board  (SIPB)
> >        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
> >        warlord at MIT.EDU                        PGP key available
> > _______________________________________________
> > 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.
> 
>                                                                                                                     

-- 
Robert Heller             -- 978-544-6933 / heller at deepsoft.com
Deepwoods Software        -- http://www.deepsoft.com/
()  ascii ribbon campaign -- against html e-mail
/\  www.asciiribbon.org   -- against proprietary attachments


                                                                                             


More information about the gnucash-user mailing list