Documentation Index
Fetch the complete documentation index at: https://docs.jitera.ai/llms.txt
Use this file to discover all available pages before exploring further.
Backup Components
| Component | Data | Priority |
|---|---|---|
| PostgreSQL (Automation) | Application data | Critical |
| PGVector PostgreSQL | Embedding vectors | Critical |
| MongoDB / DocumentDB / Cosmos DB | AI / chat data | Critical |
| Object Storage | Files, exports | High |
| Redis | Session data | Low |
| Configuration | Helm values | High |
PostgreSQL is split into the Automation database and the PGVector database, hosted on separate instances. Backing up only Automation leaves the PGVector embeddings unprotected. For the chat / AI store you run one of MongoDB, AWS DocumentDB, or Azure Cosmos DB for MongoDB depending on your deployment.
PostgreSQL Backup
The commands below target an in-cluster PostgreSQL pod. If you’re using a managed Postgres service (RDS, Cloud SQL, Azure Database for PostgreSQL Flexible Server, etc.), use the cloud-provider snapshot mechanism instead (aws rds create-db-snapshot, etc.). Apply the same procedure to the PGVector instance as a separate PostgreSQL.
Manual Backup
Automated Backup with CronJob
Restore PostgreSQL
MongoDB Backup
The commands below target an in-cluster MongoDB pod. If you’re using a managed MongoDB-compatible service (AWS DocumentDB, Azure Cosmos DB for MongoDB, etc.), use the cloud-provider snapshot mechanism instead (aws docdb create-db-cluster-snapshot, Cosmos DB continuous backup, etc.).
Manual Backup
Restore MongoDB
Object Storage Backup
AWS S3
Use S3 versioning and cross-region replication:Azure Blob Storage
Enable soft delete and geo-redundancy:MinIO Backup
Configuration Backup
Backup Helm Values
Backup Secrets
Disaster Recovery
Recovery Time Objectives
| Component | RTO | RPO |
|---|---|---|
| PostgreSQL | 1 hour | 24 hours |
| MongoDB | 2 hours | 24 hours |
| Object Storage | 4 hours | 1 hour |
Recovery Procedure
-
Provision new cluster
-
Restore configuration
-
Deploy Jitera with backup values
-
Restore databases
-
Verify functionality
- Check all pods are running
- Verify data integrity
- Test user login
Backup Verification
Monthly Restore Test
- Create test environment
- Restore latest backup
- Verify data integrity
- Test critical functions
- Document results
Verification Checklist
- Backup files exist and are readable
- Backup size is expected
- Restore completes without errors
- Application starts successfully
- Data is intact and queryable
- User authentication works
External Backup Services
For AWS
- AWS Backup: Automated backup for RDS, S3
- EBS Snapshots: Volume snapshots
For Azure
- Azure Backup: Managed backup service
- Azure Site Recovery: Disaster recovery
Third-Party
- Velero: Kubernetes backup tool
Retention Policy
| Backup Type | Retention |
|---|---|
| Daily | 7 days |
| Weekly | 4 weeks |
| Monthly | 12 months |
| Yearly | 7 years |
Troubleshooting
Backup Failed
- Check pod logs
- Verify storage space
- Check credentials
- Test connectivity
Restore Failed
- Verify backup integrity
- Check version compatibility
- Review error logs
- Ensure clean target state
Related Documentation
Maintenance Overview
Backup, restore, and routine maintenance tasks
Monitoring
Health, metrics, and alerting for Jitera Self-Hosted
Troubleshooting
Incident workflow and common issues

