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/database-administration/standard-databases/recreate-database.adoc
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,30 +43,30 @@ Input arguments are the database name and list of the seeding and topology optio
43
43
44
44
|seedingServers
45
45
|A list of possible seeding servers.
46
-
You can define available servers of provide an empty list.
46
+
You can define available servers or provide an empty list.
47
47
For details, see <<seed-servers, Use available servers as a seed>>.
48
48
49
49
|seedURI
50
50
|External source specified by URI.
51
51
52
52
|clearData label:new[Introduced in 2025.02]
53
-
|Allows you to delete tha data and schema for a database, while keeping the database privileges assigned to each role.
53
+
|Allows you to delete the data and schema for a database, while keeping the database privileges assigned to each role.
54
54
55
55
|storeFormat label:new[Introduced in 2025.04]
56
56
|Allows you to change the database store format when clearing the data and schema.
57
57
58
58
|primaries
59
-
|Number of servers in a primary constrained mode.
59
+
|Number of primary allocations for the recreated database.
60
60
If you set number of primaries without secondaries, then secondaries is set to `0`.
61
61
For more details, see <<alter-topology-recreate, Change the topology>>.
62
62
63
63
|secondaries
64
-
|Number of servers in a secondary constrained mode.
64
+
|Number of secondary allocations for the recreated database.
65
65
You cannot set secondaries without primaries.
66
66
67
67
|===
68
68
69
-
=== Considerations
69
+
=== Prerequisites and considerations
70
70
71
71
The database in question can be in an `online` or `offline` state when it is recreated, but a successful operation starts the database regardless of its previous state.
72
72
@@ -78,7 +78,7 @@ For more information, see xref:database-administration/standard-databases/errors
78
78
79
79
You need xref:authentication-authorization/dbms-administration.adoc#access-control-dbms-administration-database-management[the `CREATE DATABASE` and `DROP DATABASE` privileges] to run the recreate procedure.
80
80
81
-
Additionally, you have the option to modify <<alter-topology-recreate, the topology>> during the recreation process.
81
+
Additionally, in a cluster deployment, you have the option to modify <<alter-topology-recreate, the topology>> during the recreation process.
82
82
83
83
However, note that the store format (up to Neo4j 2025.04), access, and enrichment cannot be altered during recreation.
84
84
Starting with 2025.04, the store format can only be altered if the `clearData` option is used.
@@ -101,7 +101,7 @@ See <<undefined-servers-backup, Undefined servers with fallback backup>> for mor
101
101
* If `seedingServers` is not empty and `seedURI` is also defined, an error will occur.
102
102
103
103
[[uri-seed]]
104
-
=== Use backup as a seed
104
+
=== Use a backup as a seed
105
105
106
106
If you provide a URI to a backup or a dump, the stores on all allocations will be replaced by the backup or the dump at the given URI.
107
107
The new allocations can be put on any `ENABLED` server in the cluster.
There is an option to define a new topology when recreating a database.
167
+
In a cluster deployment, there is an option to define a new topology when recreating a database.
168
168
This can be beneficial during a disaster, if enough servers are not available to recreate the database with the original topology.
169
169
When altering the total number of allocations down during a recreation, it is important to remember that the number of seeding servers cannot exceed the number of total allocations of the database.
170
170
This also holds true when using recreate with an empty list of seeders.
0 commit comments