You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/pages/backup-restore/planning.adoc
+10-9Lines changed: 10 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -187,22 +187,23 @@ However, _restoring_ a database in a cluster is different since it is not known
187
187
This method relies on the seed already existing on one of the servers.
188
188
The recommended way to restore a database in a cluster is to xref::database-administration/standard-databases/seed-from-uri.adoc[seed from URI].
189
189
190
+
[NOTE]
191
+
====
192
+
For backing up a clustered database, it is recommended to use the `--include-metadata=all` option.
193
+
This option includes metadata in the backup file, retaining not only `users` and `roles` but also the cluster topology.
194
+
The cluster topology in the `system` database details which servers exist and their modes.
195
+
====
190
196
191
197
[[backup-planning-databases]]
192
-
== Databases to backup
198
+
== Databases to back up
193
199
194
200
A Neo4j DBMS can host multiple databases.
195
-
Both Neo4j Community and Enterprise Editions have a default user database, called `neo4j`, and a `system` database, which contains configurations, e.g., operational states of databases, security configuration, schema definitions, login credentials, and roles.
201
+
Both Neo4j Community and Enterprise Editions have a default user database named `neo4j` and a `system` database.
202
+
The `system` database contains configurations, e.g., operational states of databases, security configuration, schema definitions, login credentials, and roles.
196
203
197
204
In the Enterprise Edition, you can also create multiple user databases.
198
205
Each of these databases is backed up independently of one another.
199
206
200
-
[NOTE]
201
-
====
202
-
Backing up the `system` database, it is recommended to use the `--include-metadata=all` option.
203
-
This restores the user databases to the new `system` database retaining not only `users` and `roles` but also the cluster topology.
204
-
====
205
-
206
207
It is very important to store a recent backup of your databases, including the `system` database, in a safe location.
207
208
208
209
@@ -224,4 +225,4 @@ If you have a cluster, you should back up these files for each cluster member.
224
225
225
226
For any backup, it is important that you store your data separately from the production system, where there are no common dependencies, and preferably off-site.
226
227
If you are running Neo4j in the cloud, you may use a different availability zone or even a separate cloud provider.
227
-
Since backups are kept for a long time, the longevity of archival storage should be considered as part of backup planning.
228
+
Since backups are kept for a long time, the longevity of archival storage should be considered as part of backup planning.
0 commit comments