Subject Re: [Firebird-Java] FBNBackupManager issue
Author Mark Rotteveel
On 23 Mar 2014 01:42:41 -0700, <hugo.larson@...> wrote:
> Hello Mark,
>
> Tried to restore faulty nbackup files from command prompt with
nbackup.exe.
> Mesage:Failure: Invalid level 1 of incremental backup file: N0002.nbk,
> expected 2.
>
> But It did not have same effect as doing it with FBNBackupManager.
> The faulty file was not locked.
>
> Could this point to that the problem is within Jaybird?

I am not sure, but I don't think so. The service API for NBackup consists
only of a call for restore and a call for backup, that is it. Jaybird calls
that and the only return from that call is the status vector with the
success or error messages. There is no other action that Jaybird can take.

nbackup.exe itself doesn't use the service API, so there is a difference
in how it works in comparison to users of the service API like Jaybird
does.

You could try to use fbsvcmgr.exe to test this:
http://www.firebirdsql.org/file/documentation/reference_manuals/user_manuals/html/nbackup-backups.html#nbackup-backups-remote

If it happens with that call as well, I'd suggest you file bug in CORE.

Mark