Subject Re: [Firebird-Java] FBNBackupManager issue
Author Thomas Steinmaurer
> Hello,
> I'm experimenting with FBNBackupManager and came across a strange issue.
> I.m running Firebird 2.5
> I'm deliberately adding wrong N backup files in my experiments. The
> restore fails with:
> GDS Exception. 335544382. Invalid level 1 of incremental backup file:
> c:\N0002_20140322_0912.nbk, expected 2
> This is fine but I have two problems.
> 1. The bad nbk file locked until I restart the database.
> I want to delete this file without taking down the database.
> 2. The new database file is also locked until i restart the jvm.
> I want to replace this file with another one.
> I tried this without any result:
> fBBackupManager.clearBackupFiles();
> fBBackupManager.setDatabase(null);
> How can the files be released?

Can you please show me a full example of how you are using FBNBackupManager?


With regards,
Thomas Steinmaurer

Professional Tools and Services for Firebird
FB TraceManager, IB LogManager, Database Health Check, Tuning etc.