You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
Running Neo4j in production requires attention to backup and recovery, security, monitoring, scaling, and performance tuning. This lesson covers the essential administration tasks and best practices.
| Type | Description | Command |
|---|---|---|
| Full backup | Complete copy of the database | neo4j-admin database backup |
| Incremental backup | Only changes since last backup (Enterprise) | neo4j-admin database backup --type=incremental |
| Dump | Offline export to a single file | neo4j-admin database dump |
# Online backup (does not require stopping the database)
neo4j-admin database backup --to-path=/backups neo4j
# Stop the database first
neo4j stop
neo4j-admin database dump --to-path=/backups neo4j
neo4j start
# Restore from a backup
neo4j-admin database restore --from-path=/backups/neo4j-backup neo4j
# Load from a dump
neo4j-admin database load --from-path=/backups/neo4j.dump neo4j
| Environment | Recommendation |
|---|---|
| Production | Daily full backups + frequent incremental backups |
| Development | Weekly dumps |
| AuraDB | Automatic — managed by Neo4j (snapshots and point-in-time recovery) |
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.