Subject Re: [Firebird-Java] Exceptions on FBBackupManager
Author Roman Rokytskyy
> My problem is that if something goes wrong - for instance, if the
> database I'm trying to replace is in use - the restoreDatabase()
> method doesn't throw any exception - I can only see that it went wrong
> on the console.
> Is this a bug or the expected behaviour?

Rather expected behaviour... Issue is that the driver throws exceptions
when error is returned from the server. But in this case server does not
return any error - what you see is the copy of the stdout of the gbak
that is running on the server...

In order to throw exceptions one would need to parse the output. This is
not implemented yet.