Skip to main content

Overview

All Omni data is stored in PostgreSQL. Backing up your database ensures you can recover:
  • User accounts and settings
  • Connector configurations
  • Indexed documents and search index
  • Chat history

Backup

Docker Compose

If you haven’t already, set up the alias:

AWS (Terraform)

Postgres runs as an ECS task. Use ECS Exec to run the backup:

Restore

Docker Compose

AWS (Terraform)

Restoring will overwrite existing data. Stop all Omni services before restoring.

Recommendations

  • Daily backups for production instances
  • Test restores periodically to verify backup integrity
  • Store backups offsite or in a different region than your primary deployment