On 27 Mar 2015 02:52:54 -0700, "[email protected] [firebird-support]"
<[email protected]> 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

Reply via email to