On 24-06-2026 18:56, 'Mark Rotteveel' via firebird-java wrote:
> On 24-06-2026 16:48, 'Hugo Larson' via firebird-java wrote:
>> I wonder if there is a way to exclude tables when using
>> FBBackupManager like example
>>
>> gbak -b -se localhost/3050:service_mgr -g -v mydb1 -SKIP_D
>> ‘(COUNTRY|JOB)’
>
> Support for that (and -INCLUDE_DATA) is not implemented. I'll create a
> ticket to add it.
I've added support in Jaybird 7. Right now, I don't think I'll backport
it to Jaybird 5 and 6, and instead I'll add a generic mechanism to
service managers that can be used to customize the request buffer so
additional properties can be added if support for some feature hasn't
been implemented in Jaybird itself.
That can then be used as a generic workaround for all service managers
for such missing options.
This can then be used like this:
var backupManager = new FBBackupManager();
// Perform other config...
// Set customizer
backupManager.setServiceRequestCustomizer((request, context) -> {
// Only apply for backup
if (!"backupDatabase".equals(context.operation())) return;
request.addArgument(ISCConstants.isc_spb_bkp_include_data,
"(COUNTRY|JOB)")
});
backupManager.backupDatabase();
See also
https://github.com/FirebirdSQL/jaybird/blob/master/devdoc/jdp/jdp-2026-06-service-manager-request-customization.adoc.
Mark
--
Mark Rotteveel