docs: BYOB restore — document restore_access_entities_with_current_grants (26.4+)#6455
Draft
garrettthomaskth wants to merge 5 commits into
Draft
docs: BYOB restore — document restore_access_entities_with_current_grants (26.4+)#6455garrettthomaskth wants to merge 5 commits into
garrettthomaskth wants to merge 5 commits into
Conversation
…ants (26.4+) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
3 Skipped Deployments
|
… note Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Documents the new
restore_access_entities_with_current_grantsRESTORE setting in the BYOB "restore using commands" guide.The previous example used
RESTORE ALL EXCEPT TABLES system.users, system.rolesto work around theACCESS_DENIEDfailure that occurs when a backup's access entities (e.g.default_role) carry more grants than the restoring user can grant. On ClickHouse Cloud 26.4 (build26.4.1.1942+) you can insteadRESTORE ALLwithSETTINGS restore_access_entities_with_current_grants = 1, which clamps restored grants to what the restoring user may grant (same semantics asGRANT CURRENT GRANTS) instead of failing.Details
RESTORE ALL ... SETTINGS restore_access_entities_with_current_grants = 1.26.4.1.1942+) withSELECT version()to check the running version.EXCEPT TABLES system.users, system.rolesform documented as the pre-26.4 fallback.Upstream feature PR: ClickHouse/ClickHouse#98795
Rollout: ClickHouse/data-plane-base-configurations#2084
English source only; translations handled by the docs i18n flow.
🤖 Generated with Claude Code