Subject | Re: [firebird-support] nbackup problem : Database is already in the physical backup mode |
---|---|
Author | Mark Rotteveel |
Post date | 2015-03-27T12:27:19Z |
On 27 Mar 2015 02:52:54 -0700, "hugo.larson@... [firebird-support]"
<firebird-support@yahoogroups.com> wrote:
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@yahoogroups.com> wrote:
> So if the computer is shutdown during a nbackup the database is lockedin
> 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 isthrown?
> 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