Skip to content

Commit

Permalink
clarifying that DBMS privileges do not get backed up (#1501)
Browse files Browse the repository at this point in the history
  • Loading branch information
phil198 authored and renetapopova committed Mar 25, 2024
1 parent cf59ce3 commit 7a8464f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion modules/ROOT/pages/backup-restore/online-backup.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,15 @@ With a single `*` as a value, you can back up all the databases of the DBMS.
- `all` - include both `roles` and `users`.
The metadata script can be found in the backup directory `<database>/tools/metadata_script.cypher`.
[NOTE]
`roles` and `users` that do not have database-related privileges are not included in the backup (e.g. those with only DBMS or no privileges). It is recommended to use `SHOW USERS` and `SHOW ROLES` to get the complete list of users and roles in these situations.
====
Privileges specific to the DBMS and not to the backed-up database are not included in the backup.
For instance, `GRANT ROLE MANAGEMENT ON DBMS TO $role` will not be backed up.
Accordingly, `roles` and `users` that do not have database-related privileges are not included in the backup (e.g. those with only DBMS or no privileges).
It is recommended to use `SHOW USERS`, `SHOW ROLES`, and `SHOW ROLE $role PRIVILEGES AS COMMANDS` to get the complete list of users, roles and privileges in these situations.
====
|all

| --prepare-restore
| true
Expand Down

0 comments on commit 7a8464f

Please sign in to comment.