313 feature request add memories (#351)

This commit is contained in:
Daniel Graf
2025-10-24 12:52:53 +02:00
committed by GitHub
parent edcaf8bea1
commit 4e7b2988f2
90 changed files with 8673 additions and 510 deletions

View File

@@ -450,18 +450,19 @@ To enable PKCE for the OIDC Client, you need to set `OIDC_AUTHENTICATION_METHOD`
## Backup & Data Persistence
Reitti is designed to be mostly stateless, with all important data stored in the PostgreSQL database (with PostGIS extensions). To ensure you do not lose any critical data:
- **Backup Requirement:** Only the PostGIS database needs to be backed up regularly. This database contains all user location data, analysis results, and other persistent information.
- **Stateless Services:** All other components (RabbitMQ, Redis, Reitti application, etc.) are stateless and do not store any important data. These can be redeployed or restarted without risk of data loss.
- **Backup Requirements:**
- The PostGIS database needs to be backed up regularly. This database contains all user location data, analysis results, and other persistent information.
- The storage path used by Reitti needs to be backed up regularly. This contains uploaded files.
- **Stateless Services:** All other components (RabbitMQ, Redis, Photon, etc.) are stateless and do not store any important data. These can be redeployed or restarted without risk of data loss.
**Recommended Backup Strategy:**
- Use standard PostgreSQL backup tools (such as `pg_dump` or physical volume snapshots) to back up your database.
- Back up the entire storage directory/volume used by Reitti for file storage.
- Ensure backups are performed regularly and stored securely.
- No backup is needed for RabbitMQ, Redis, or the Reitti application itself.
- No backup is needed for RabbitMQ, Redis, Photon.
**Restore:**
- In case of disaster recovery, restoring the PostGIS database is sufficient to recover all user data and history.
- In case of disaster recovery, restore both the PostGIS database and the storage path to recover all user data and history.
For more details, see the [Reitti backup documentation](https://www.dedicatedcode.com/projects/reitti/backup/).