OpenVortexAI Docs
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/uploads or the path configured by APP_FILE_STORAGE_PATH.
  • ./data/valkey or the configured Valkey data path.
  • .env in 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:

  1. A user can authenticate.
  2. Existing chats and projects are present.
  3. An uploaded file can be opened by an authorized user.
  4. RAG retrieval returns results from an existing indexed document.
  5. 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.

On this page