Skip to content

Services API gbak does not provide support for -SKIP_SCHEMA_DATA/-INCLUDE_SCHEMA_DATA equivalent options #9077

Description

@mrotteveel

The support for gbak -SKIP_SCHEMA_DATA and -INCLUDE_SCHEMA_DATA is not fully implemented in the Services API.

Attempts to use these options, using isc_spb_bkp_skip_schema_data and isc_spb_bkp_include_schema_data, through the Services API results in error (through Jaybird):

unrecognized service parameter block; All services except for getting server log require switches [SQLState:42000, ISC error code:335544562]

or through fbsvcmgr:

fbsvcmgr localhost user sysdba password masterkey action_backup dbname test.fdb bkp_file /var/lib/firebird/data/test_svc.fbk bkp_include_schema_data PUBLIC verbose

Invalid clumplet buffer structure: unknown parameter for backup/restore (23)

(with bkp_skip_schema_data, the error mentions (22) instead of (23).)

IntlParametersBlock and ClumpletReader are missing entries for isc_spb_bkp_skip_schema_data and isc_spb_bkp_include_schema_data (this is just from a shallow search, I haven't checked in more depth if anything else might be missing).

Using gbak with -se localhost does seem to work.

Metadata

Metadata

Assignees

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions