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-issue-importer opened this issue May 5, 2011 · 6 comments
Closed

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

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

Comments

@firebird-issue-importer
Copy link

@firebird-issue-importer firebird-issue-importer commented May 5, 2011

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-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented May 5, 2011

Modified by: Jonathan Hill (jonoh)

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

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented May 5, 2011

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented May 5, 2011

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-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jun 1, 2011

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-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Mar 27, 2014

Modified by: @pcisar

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

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 18, 2016

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
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants