Getting started
Backups and recovery
Protect OpenVortexAI database records, uploaded files, Valkey data, configuration, and encryption material.
What to back up
- PostgreSQL, including pgvector tables.
./data/uploadsor the path configured byAPP_FILE_STORAGE_PATH../data/valkeyor the configured Valkey data path..envin an encrypted secrets backup.- Reverse-proxy and identity-provider configuration.
Provider secrets stored by the application are encrypted with CREDENTIAL_ENCRYPTION_KEY. A database backup without the matching key may leave those credentials unrecoverable.
Minimum recovery test
Restore into an isolated host and verify:
- A user can authenticate.
- Existing chats and projects are present.
- An uploaded file can be opened by an authorized user.
- RAG retrieval returns results from an existing indexed document.
- Provider credentials can be decrypted and a test chat streams normally.
Do not consider a backup complete until this restore test succeeds.
Backup timing
Take a fresh backup before releases, database maintenance, changing storage paths, rotating encryption material, or modifying the Compose topology.