Subject | FBNBackupManager issue |
---|---|
Author | |
Post date | 2014-03-22T09:16:34Z |
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?
Br,
Hugo
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?
Br,
Hugo