The Backup docs (https://www.cockroachlabs.com/docs/v2.1/backup.html#main-content) and the Restore docs (https://www.cockroachlabs.com/docs/v2.1/restore.html) currently don’t mention anything about what access/roles a cockroachDB user would have to be to issue a backup or restore. Should I assume root?
As mention in the Required Privileges section on each of the pages you linked, the caller must be a member of the
admin role. By default, that means only the
Ugh, apologies for missing something so obvious.