Back Up and Restore

Protect your CAST Imaging data with regular backups and know how to restore in case of failure.

Before you start

Who this is for CAST Imaging administrator
Role required Local server admin
Prerequisites CAST Imaging installed and running

What to back up

Component What to back up
Neo4j Neo4j data directory (graph database)
PostgreSQL All CAST databases (analysis results, AIP Console data)
Configuration CAST Imaging configuration files
Saved views and annotations Stored in Neo4j and PostgreSQL — covered by the above

Backup frequency

Component Recommended frequency
Neo4j Daily
PostgreSQL Daily
Configuration After every configuration change

Back up Neo4j (Windows)

[TODO: Steps using neo4j-admin dump or the backup tool; stopping the service if required]

Back up Neo4j (Docker)

[TODO: Steps to create a container volume backup]

Back up PostgreSQL

[TODO: pg_dump commands for each database; recommended compression]

Restore

[TODO: Steps to restore Neo4j and PostgreSQL from a backup; verification steps after restore]

Next steps