From d7e182a272ccf478bb5508d3158015f7708ea887 Mon Sep 17 00:00:00 2001 From: undeadindustries <9536461+undeadindustries@users.noreply.github.com> Date: Mon, 22 Jun 2026 10:57:19 +1000 Subject: [PATCH] docs: add Windows backup alternative to corrupt-index recovery (#1843) Gemini review on PR #1849: the optional palace backup step used the Unix-only `cp -a`, which fails on Windows. MemPalace ships on win32, so add a PowerShell `Copy-Item` alternative alongside the macOS/Linux form and note that `--archive-existing` already moves the old palace aside. Co-authored-by: Cursor --- integrations/shared/recall-protocol.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/integrations/shared/recall-protocol.md b/integrations/shared/recall-protocol.md index 805c603..e4b32ee 100644 --- a/integrations/shared/recall-protocol.md +++ b/integrations/shared/recall-protocol.md @@ -88,7 +88,10 @@ from the agent (it can break other live clients): 1. Stop the MCP server (kill the `mempalace-mcp` process, or restart the host editor). -2. Optional backup: `cp -a ~/.mempalace/palace ~/.mempalace/palace.bak.$(date +%F)` +2. Optional backup of the palace directory (`--archive-existing` already + moves the old palace aside, so this is belt-and-suspenders): + - macOS / Linux: `cp -a ~/.mempalace/palace ~/.mempalace/palace.bak.$(date +%F)` + - Windows (PowerShell): `Copy-Item -Recurse "$env:USERPROFILE\.mempalace\palace" "$env:USERPROFILE\.mempalace\palace.bak"` 3. Rebuild from SQLite: `mempalace repair --mode from-sqlite --archive-existing --yes` 4. Verify: `mempalace repair-status` (divergence should read 0).