Backup
Tindra stores all persistent data in two places: a Postgres database and a data directory (DATA_DIR) for file attachments. A complete backup needs both.
backup.sh
The easiest way to back up a self-hosted instance is the backup.sh script included in the Tindra GitHub repository. It dumps Postgres and archives the data directory into a single .tar.gz file.
curl -sSL https://raw.githubusercontent.com/blendbyte/tindra/main/backup.sh | bash
Or download it once and run it yourself:
curl -sSLO https://raw.githubusercontent.com/blendbyte/tindra/main/backup.sh
chmod +x backup.sh
./backup.sh
The script creates a file like tindra-backup-20260518.tar.gz in the current directory. To restore, see Restoring from backup below.
Manual backup
If you prefer to handle it yourself:
# Dump Postgres
docker exec <db-container> pg_dump -U tindra -Fc tindra > tindra-db-$(date +%Y%m%d).dump
# Archive the data directory
tar -czf tindra-data-$(date +%Y%m%d).tar.gz /path/to/DATA_DIR
Automated backups
Schedule a cron job to run backup.sh daily:
0 3 * * * /opt/tindra/backup.sh
Prune backups older than 30 days:
0 4 * * * find /backups -name "tindra-backup-*.tar.gz" -mtime +30 -delete
Off-site replication
Ship backups off-site with rclone:
./backup.sh && rclone copy tindra-backup-$(date +%Y%m%d).tar.gz s3:your-bucket/tindra/
What is backed up
- All events, issues, and transactions
- Projects, members, and organization settings
- Alert rules and audit log
- File attachments from
DATA_DIR
The Tindra binary itself is not included. It is the Docker image and does not need to be backed up.
Restoring from backup
- Stop the Tindra container
- Restore the Postgres dump
- Restore the data directory
- Start the Tindra container
docker compose stop tindra
# Restore database
docker exec -i tindra-db pg_restore -U tindra -d tindra --clean < tindra-db-20260518.dump
# Restore data directory
tar -xzf tindra-data-20260518.tar.gz -C /path/to/DATA_DIR
docker compose start tindra
The --clean flag drops and recreates all objects before restoring.
Managed instances
Managed Tindra instances (hosted by Blendbyte GmbH) are backed up automatically. You do not need to manage backups yourself. Contact support if you need a point-in-time restore.