Human Connection
1.0.0
1.0.0
  • Introduction
  • Edit this Documentation
  • Installation
  • Neo4J
  • Backend
    • GraphQL
    • neo4j-graphql-js
  • Webapp
    • Components
    • HTML
    • SCSS
    • Vue
  • Testing Guide
    • End-to-end tests
    • Frontend tests
    • Backend tests
  • Contributing
  • Kubernetes Deployment
    • Minikube
    • Digital Ocean
      • Kubernetes Dashboard
      • HTTPS
    • Human Connection
      • Error Reporting
      • Mailserver
      • Maintenance
    • Volumes
      • Neo4J Offline-Backups
      • Neo4J Online-Backups
      • Volume Snapshots
      • Reclaim Policy
      • Velero
    • Metrics
    • Legacy Migration
  • Feature Specification
  • Code of conduct
  • License
Powered by GitBook
On this page
  • Create Persistent Volume Claims
  • Backup and Restore

Was this helpful?

  1. Kubernetes Deployment

Volumes

PreviousMaintenanceNextNeo4J Offline-Backups

Last updated 6 years ago

Was this helpful?

At the moment, the application needs two persistent volumes:

  • The /data/ folder where neo4j stores its database and

  • the folder /nitro-backend/public/uploads where the backend stores uploads.

As a matter of precaution, the persistent volume claims that setup these volumes live in a separate folder. You don't want to accidently loose all your data in your database by running

kubectl delete -f human-connection/

or do you?

Create Persistent Volume Claims

Run the following:

# in folder deployments/
$ kubectl apply -f volumes
persistentvolumeclaim/neo4j-data-claim created
persistentvolumeclaim/uploads-claim created

Backup and Restore

We tested a couple of options how to do disaster recovery in kubernetes. First, there is the of the community edition of Neo4J, which you can also run on a local installation. Kubernetes also offers so-called . Changing the of your persistent volumes might be an additional safety measure. Finally, there is also a kubernetes specific disaster recovery tool called .

offline backup strategy
volume snapshots
reclaim policy
Velero