Skip to content

Commit

Permalink
Fix the mismatches on the backup and restore section (neo4j#1561)
Browse files Browse the repository at this point in the history
  • Loading branch information
renetapopova authored Apr 19, 2024
1 parent 2ac52d6 commit f7dda98
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
8 changes: 4 additions & 4 deletions modules/ROOT/pages/backup-restore/copy-database.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Cannot be combined with `--ignore-nodes-with-labels`.

|--copy-only-relationship-properties=<relationship.property>[,<relationship.property>...]
|A comma-separated list of property keys to include in the copy for relationships with the specified type.
Any relationship types not explicitly mentioned will have all their properties included in the copy.Cannot be combined with `--skip-properties` or `--skip-relationship-properties`.
Any relationship types not explicitly mentioned will have all their properties included in the copy. Cannot be combined with `--skip-properties` or `--skip-relationship-properties`.
|

|--copy-only-relationships-with-types=<type>[,<type>...]
Expand All @@ -116,7 +116,7 @@ Cannot be combined with `--ignore-relationships-with-types`.
|

|--force
|--temp-path=<path>he integrity of the database cannot be verified.
|Force the command to run even if the integrity of the database cannot be verified.
|

|--from-pagecache=<size>
Expand Down Expand Up @@ -183,11 +183,11 @@ If you go from `high_limit` to `standard` or `aligned`, there is no validation t
|same

|--to-path-data=<path>
|Path to the databases directory, containing the database directory to targe from.
|Path to the databases directory, containing the database directory to target from.
|server.directories.data/databases

|--to-path-schema=<path>
|Path to a directory to create the schema commands file in. Default is the current directory.
|Path to directory to create the schema commands file in. Default is the current directory.
|

|--to-path-txn=<path>
Expand Down
4 changes: 1 addition & 3 deletions modules/ROOT/pages/backup-restore/online-backup.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Neo4j's backup service must have been configured on the server beforehand.
| Description
| Default

|[<database...>]
|[<database>...]
|Name(s) of the remote database(s) to backup. Supports globbing inside of double quotes, for example, "data*". (<database> is required unless `--inspect-path` is used).
|neo4j
|===
Expand Down Expand Up @@ -141,14 +141,12 @@ the size of the produced artifact will be approximately equal to the size of bac
- `all` - include both `roles` and `users`.
- `none` - does not include any metadata.
[NOTE]
====
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

|--inspect-path=<path>
Expand Down

0 comments on commit f7dda98

Please sign in to comment.