Move one dsh session to another computer
undohaven restore --to SNAPSHOT_ID --scope sessions. The 0.2.2-rc.1 launcher has no import-session command. To move one session, restore an UndoHaven snapshot with --scope sessions, or copy that session's directory under $DSH_HOME/sessions. The storage generation on both sides needs to match.
Steps
- undohaven restore --to SNAPSHOT_ID --scope sessions writes session files and leaves unrelated config alone.
- A manual copy is the session directory (the folder that contains session.vN.jsonl.zstd), not a loose jsonl next to it. The stock layout is project directory, then session directory, then the generation file.
- Moving the whole home, including plugins, is undohaven migrate-machine --to SNAPSHOT_ID on a Pro account. That is a different command from a single-session restore.
Without UndoHaven
Do not invent an import flag. If the destination dsh is a different storage generation, the older or newer build may refuse the file. Snapshot first.