LearnNewsExamplesServices
Frontmatter
id7322
titleImplement Memory Backup and Restore
stateClosed
labels
enhancement
assigneestobiu
createdAtOct 1, 2025, 11:31 PM
updatedAtOct 2, 2025, 12:05 PM
githubUrlhttps://github.com/neomjs/neo/issues/7322
authortobiu
commentsCount0
parentIssue7316
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtOct 2, 2025, 12:05 PM

Implement Memory Backup and Restore

Closed v11.0.0 enhancement
tobiu
tobiu commented on Oct 1, 2025, 11:31 PM

The agent's memory database is a persistent, cumulative asset that cannot be regenerated from source files. To prevent accidental data loss, a robust backup and restore mechanism is required. This ticket covers the creation of scripts to export and import the memory database.

Acceptance Criteria

  1. A new script is created (e.g., buildScripts/ai/exportMemory.mjs).
    • This script connects to the memory ChromaDB.
    • It exports all documents (content, metadata) into a portable, version-controllable format (e.g., a single JSON file or a directory of JSON files).
  2. A corresponding new script is created (e.g., buildScripts/ai/importMemory.mjs).
    • This script reads the exported data.
    • It intelligently upserts the data into the ChromaDB collection, allowing for a full restore to a new or empty database.
  3. The process is documented, so users understand how to back up their agent's memory.
tobiu assigned to @tobiu on Oct 1, 2025, 11:31 PM
tobiu added the enhancement label on Oct 1, 2025, 11:31 PM
tobiu added parent issue #7316 on Oct 1, 2025, 11:31 PM
tobiu referenced in commit f867c90 - "Implement Memory Backup and Restore #7322" on Oct 2, 2025, 12:04 PM
tobiu closed this issue on Oct 2, 2025, 12:05 PM