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

Additional guidance for restoring users and grants from self-hosted database to CockroachDB Cloud #13166

Open
sheaffej opened this issue Mar 3, 2022 · 1 comment
Assignees

Comments

@sheaffej
Copy link
Contributor

sheaffej commented Mar 3, 2022

John Sheaffer (sheaffej) commented:

The section in the docs that describes how to restore a self-hosted database to CockroachDB Cloud could use expanding to include how to restore users that were created in the self-hosted cluster, as well as grants on the database that those users had.

This is the section and page where restoring a self-hosted database into CockroachDB Cloud is described:
https://www.cockroachlabs.com/docs/cockroachcloud/backups-page.html#back-up-a-self-hosted-cockroachdb-cluster-and-restore-into-a-cockroachdb-cloud-cluster

And we should consider adding pointers to:

Restoring users from system.users. backup
https://www.cockroachlabs.com/docs/v21.2/restore#restoring-users-from-system-users-backup

and Show a backup with privileges
https://www.cockroachlabs.com/docs/v21.2/show-backup.html#show-a-backup-with-privileges
...even better to include an example query that would extract the GRANT statements for the users and databases being restored into CockroachDB Cloud

Jira Issue: DOC-2825

@exalate-issue-sync
Copy link

Lauren Hirata Singh (lnhsingh) commented:
Ian Evans - not sure if this should be Cloud or under I/O, so cc-ing Kathryn Hancox on this.

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