{
 "schema_version": 1,
 "generated": "2026-10-24",
 "id": "tencentcloud-tencentdb-agent-memory--migrate-v2-data-to-v3",
 "repo": "TencentCloud/TencentDB-Agent-Memory",
 "repo_url": "https://github.com/TencentCloud/TencentDB-Agent-Memory",
 "repo_slug": "tencentcloud-tencentdb-agent-memory",
 "title": "Move existing v1 or v2 memory data into a v3 install",
 "page_title": "How to move existing v1 or v2 memory data into a v3 install with Tencent DB Agent Memory",
 "summary": "Use the official migration tool to bring older memory data into the current release.",
 "who": "A user already running an older TencentDB Agent Memory release who wants to keep their stored memory after upgrading.",
 "problem": "Existing chat memory and assets from older versions would be lost or unused in a fresh v3 install.",
 "outcome": "Older data is migrated into the v2.0.0 or later storage format, using the flags described in the migration README.",
 "steps": [
  "Read the full usage and flags in MemoryCore/scripts/migrate-v2-to-v3/README.md",
  "Change into the MemoryCore/scripts/migrate-v2-to-v3 directory from the repo root (inferred, check the README)",
  "Run the migration script with the flags listed in that README against your existing data (inferred, check the README)",
  "Start the stack with `./start-all.sh` from deploy/global-images and open http://localhost:8125",
  "Check in the panel that migrated Chat Memory and assets appear"
 ],
 "agent_prompt": "Using the repo TencentDB-Agent-Memory, read MemoryCore/scripts/migrate-v2-to-v3/README.md and run the migration for my existing <old data location> with the flags it lists. Expected output: a migration summary from the script. Verify that the migrated items appear in the panel at http://localhost:8125.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "60 minutes",
 "basis": "readme",
 "caveat": "The README says new installations can skip migration, and the exact script command and flags are only in the migration README, so take a backup before running it.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "Git and a bash-compatible shell",
  "Two sets of LLM API parameters for the memory group and the proxy group, filled into .env",
  "A local machine that can run the three services (memory-core, memory-hub, proxy)",
  "An agent client that accepts a custom base URL, such as Claude Code or Codex"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/tencentcloud-tencentdb-agent-memory/migrate-v2-data-to-v3/",
 "md": "https://dedupedai.com/use-cases/tencentcloud-tencentdb-agent-memory/migrate-v2-data-to-v3/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/tencentcloud-tencentdb-agent-memory--migrate-v2-data-to-v3.json",
 "api_version": "v1"
}
