Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add metadata only restore to Services API [CORE3462] #3823

Closed
firebird-automations opened this issue May 5, 2011 · 6 comments
Closed

Add metadata only restore to Services API [CORE3462] #3823

firebird-automations opened this issue May 5, 2011 · 6 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Jonathan Hill (jonoh)

Votes: 1

gbak allows you to restore a backup's metadata only, i.e. create a database without any user data, only metadata from the backup.

The Services API allows a metadata only backup with the isc_spb_bkp_metadata_only option set but there is no such option to perform a metadata only restore. I would anticipate e.g. isc_spb_res_metadata_only?

Commits: cd60348 ffbf088

@firebird-automations
Copy link
Collaborator Author

Modified by: Jonathan Hill (jonoh)

priority: Major [ 3 ] => Minor [ 4 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

The humor here is that if you use isc_spb_bkp_metadata_only option in SPB, passed to restore service, it will do exactly what you want - restore only metadata. Another question that a lot of tools (starting with our fbsvcmgr) do not let to specify backup option in restore request.
To avoid confusion I suggest to add isc_spb_res_metadata_only (== isc_spb_bkp_metadata_only) constant to public header and fbsvcmgr.

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.5.1 [ 10333 ]

Fix Version: 3.0 Alpha 1 [ 10331 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants