-
Notifications
You must be signed in to change notification settings - Fork 658
Open
Description
Memori currently lacks a dedicated, well‑tested export/import pipeline for moving memory data between databases and for backing up/restoring a single database. I’d like to add a first version of this feature, focused on SQLite, along with tests and documentation so users can reliably export/import their memories.
Problem / Motivation
- There is no high‑level API to:
- Export chat history and memories from a Memori database into portable formats (JSON/SQL/SQLite/CSV).
- Import that data into another database (e.g. a fresh SQLite instance or a different backend).
This makes it difficult to:
- Back up/restore Memori data.
- Migrate users between environments or database backends.
- Test data portability end‑to‑end.
- Existing tests failed when trying to prototype this because:
- SQLAlchemyDatabaseManager did not expose a get_session() helper needed by streaming export/import logic and some tests.
Metadata
Metadata
Assignees
Labels
No labels