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
In 2025.04 we deprecate `dbms.cluster.recreateDatabase` in favour of
`dbms.recreateDatabase`.
---------
Co-authored-by: NataliaIvakina <[email protected]>
The xref:procedures.adoc#procedure_dbms_cluster_recreateDatabase[`dbms.cluster.recreateDatabase()`] procedure allows you to:
252
+
In Neo4j 2025.04, the xref:procedures.adoc#procedure_dbms_cluster_recreateDatabase[`dbms.cluster.recreateDatabase()`] procedure is deprecated in favour of xref:procedures.adoc#procedure_dbms_recreateDatabase[`dbms.recreateDatabase()`].
253
+
254
+
The recreate procedure allows you to:
253
255
254
256
* Change the database store to a specified backup, while keeping all the associated privileges for the database.
255
257
@@ -304,7 +306,7 @@ See xref::database-administration/standard-databases/seed-from-uri.adoc[Seed fro
Copy file name to clipboardExpand all lines: modules/ROOT/pages/import.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -661,7 +661,7 @@ Incremental import into an existing database.
661
661
The importer works well on standalone servers.
662
662
663
663
In clustering environments with multiple copies of the database, the updated database must be used as a source to reseed the rest of the database copies.
664
-
You can use the procedure xref:procedures.adoc#procedure_dbms_cluster_recreateDatabase[`dbms.cluster.recreateDatabase()`].
664
+
You can use the procedure xref:procedures.adoc#procedure_dbms_recreateDatabase[`dbms.recreateDatabase()`].
665
665
For details, see xref:clustering/databases.adoc#recreate-databases[Recreate databases].
666
666
667
667
Starting the clustered database after an incremental import without reseeding or performing the incremental import on a single server while the database remains online on other clustered members may result in unpredictable consequences, including data inconsistency between cluster members.
| `database` | `STRING` | The name of the database to recreate.
714
+
| `options` | `MAP` | The seeding and topology options to use for recreating the database.
715
+
| *Mode* 3+| WRITE
716
+
|===
717
+
718
+
[NOTE]
719
+
====
720
+
It is mandatory to specify either `seedURI` or `seedingServers` as seeding options in the `options` field.
721
+
Further details on how to use the `dbms.recreateDatabase()` procedure are provided in the related section inside the xref:clustering/databases.adoc#recreate-databases[Managing databases in a cluster] page.
722
+
If no topology option is defined, the database will be recreated with the previous topology.
0 commit comments