ClouisleClouisle

Backup and Recovery

Back up Clouisle metadata, indexes, queues, and upload assets

A recoverable Clouisle backup includes at least PostgreSQL, Qdrant, upload storage, and deployment configuration/Secrets. Redis mainly holds queues, caches, and session state; whether to back it up depends on the organization's recovery requirements for unfinished tasks.

What to Back Up

ContentRoleRecommendation
PostgreSQLUsers, teams, resources, configuration, audit, document metadataDaily full backup + continuous archiving
QdrantDocument vectorsCoordinate with database backups
Upload storageRaw documents, attachments, media, and sandbox artifactsKeep at the same point in time as PostgreSQL metadata
.env/Kubernetes SecretConnection and signing configurationStore encrypted; never commit to the repository
RedisCelery/cache/sessionDecide according to task recovery requirements

Recovery Order

  1. Restore PostgreSQL and dependent extensions.
  2. Restore Qdrant collections and uploaded files.
  3. Restore Secrets and environment variables; confirm SECRET_KEY stays consistent.
  4. Start the API; confirm health and database migrations.
  5. Start Worker, Sandbox Worker, and the single Beat.
  6. Check document status, vector dimensions, Agents, Workflows, and API Keys.
  7. Run one Knowledge Base retrieval and one Agent/Workflow smoke request.
Backup and recovery checklist
Backup and recovery checklist

Restoring only PostgreSQL leaves resources missing raw files or vectors; restoring only Qdrant leaves vectors that cannot be linked. Metadata, files, and indexes must be handled at the same recovery point.

How is this guide?

On this page