Claude Code backup

Keep a searchable encrypted copy of Claude local work records.

Claude coding sessions can contain valuable prompts, files, fixes, tool output, and locally written thinking blocks. DataMoat captures supported Claude CLI and Claude Desktop local-agent records into an encrypted local vault so the work remains reviewable after compaction, cleanup, or a machine move.

Why Claude users need a local backup

Compaction can hide earlier work

Long coding sessions may compact old context. DataMoat watches local records so newly written lines can be saved quickly.

Great fixes are hard to rediscover

Search the encrypted vault for a previous error, shell command, migration, prompt, or design decision.

Local-first by design

Your Claude backup stays on your machine. DataMoat does not upload prompts or transcripts to a DataMoat cloud service.

Install path

Mac users should start with the signed macOS DMG. Linux users can use source install. Remote no-screen setup is available for starting capture before the protected desktop is available.

git clone https://github.com/max-ng/datamoat.git
cd datamoat
bash install.sh
datamoat