On 27 Mar 2015 02:52:54 -0700, "hugo.lar...@yahoo.com [firebird-support]"
<firebird-support@yahoogroups.com> wrote:
> So if the computer is shutdown during a nbackup the database is locked
in
> this way indefinelty?

As far as I know: yes, until you manually end the physical backup mode.
 
> What do you suggest I should do with JayBird when the exception is
thrown?
> Execute "alter database end backup"?

What if another user has started a nbackup on the same database? It is
risky to just assume that the error is caused by a failed/crashed backup
and then disable the physical backup mode; that could potentially corrupt
the backup by the other user. I'd suggest that executing the "alter
database end backup" should be an explicit (manually started) action.

Mark
  • [firebird-support] ... hugo.lar...@yahoo.com [firebird-support]
    • Re: [firebird-... Mark Rotteveel m...@lawinegevaar.nl [firebird-support]
      • Re: [fireb... hugo.lar...@yahoo.com [firebird-support]
        • Re: [f... Alexey Kovyazin a...@ib-aid.com [firebird-support]
        • Re: [f... Mark Rotteveel m...@lawinegevaar.nl [firebird-support]

Reply via email to