Self-Hosting
Loading...
Operations
Back up, restore, upgrade, and monitor your self-hosted Tambo deployment.
Procedures for day-to-day management of a self-hosted Tambo deployment. For a list of all available scripts, see the Scripts reference.
Back up the database
docker compose --env-file docker.env exec postgres pg_dump -U postgres tambo > backup.sqlRestore from backup
docker compose --env-file docker.env exec -T postgres psql -U postgres tambo < backup.sqlConnect to PostgreSQL
./scripts/cloud/tambo-psql.sh
# Or via docker compose directly
docker compose --env-file docker.env exec postgres psql -U postgres -d tamboCheck service health
All services include Docker health checks. Check status:
docker compose --env-file docker.env psUpgrade to a new version
- Pull latest changes:
git pull - Rebuild images:
./scripts/cloud/tambo-build.sh - Restart services:
./scripts/cloud/tambo-stop.sh && ./scripts/cloud/tambo-start.sh - Run migrations:
./scripts/cloud/init-database.sh