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/kubernetes/operations/backup-restore.adoc
+54-6Lines changed: 54 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ For more information, see xref:kubernetes/accessing-neo4j.adoc[Accessing Neo4j].
9
9
====
10
10
11
11
[[kubernetes-neo4j-backup-cloud]]
12
-
== Back up a database(s) to a cloud provider (AWS, GCP, and Azure) bucket
12
+
== Prepare to back up a database(s) to a cloud provider (AWS, GCP, and Azure) bucket
13
13
14
14
You can perform a backup of a Neo4j database(s) to any cloud provider (AWS, GCP, and Azure) bucket using the _neo4j/neo4j-admin_ Helm chart.
15
15
From Neo4j 5.10, the _neo4j/neo4j-admin_ Helm chart also supports performing a backup of multiple databases.
@@ -323,9 +323,48 @@ consistencyCheck:
323
323
enabled: true
324
324
----
325
325
326
+
[[kubernetes-neo4j-backup-on-prem]]
327
+
== Prepare to back up a database(s) to on-premises storage
328
+
329
+
_This feature is available from Neo4j 5.16._
330
+
331
+
You can perform a backup of a Neo4j database(s) to on-premises storage using the _neo4j/neo4j-admin_ Helm chart.
332
+
When configuring the _backup-values.yaml_ file, keep the “cloudProvider” field empty and provide a persistent volume in the `tempVolume` section to ensure the backup files are persistent if the pod is deleted.
333
+
334
+
[NOTE]
335
+
====
336
+
You need to create the persistent volume and persistent volume claim before installing the _neo4j-admin_ Helm chart.
337
+
For more information, see xref:kubernetes/persistent-volumes.adoc[Volume mounts and persistent volumes].
338
+
====
339
+
340
+
For example:
341
+
342
+
[source, yaml, role='noheader']
343
+
----
344
+
neo4j:
345
+
image: "neo4j/helm-charts-backup"
346
+
imageTag: "5.16.0"
347
+
jobSchedule: "* * * * *"
348
+
successfulJobsHistoryLimit: 3
349
+
failedJobsHistoryLimit: 1
350
+
backoffLimit: 3
351
+
352
+
backup:
353
+
bucketName: "my-bucket"
354
+
databaseAdminServiceName: "standalone-admin"
355
+
database: "neo4j,system"
356
+
cloudProvider:
357
+
358
+
consistencyCheck:
359
+
enabled: true
360
+
361
+
tempVolume:
362
+
persistentVolumeClaim:
363
+
claimName: backup-pvc
364
+
----
326
365
327
366
[[kubernetes-neo4j-backup-parameters]]
328
-
=== Backup parameters
367
+
== Backup parameters
329
368
330
369
To see what options are configurable on the Helm chart use `helm show values` and the Helm chart _neo4j/neo4j-admin_. +
331
370
From Neo4j 5.10, the _neo4j/neo4j-admin_ Helm chart also supports assigning your Neo4j pods to specific nodes using `nodeSelector` labels, and from Neo4j 5.11, using affinity/anti-affinity rules or tolerations.
0 commit comments