Skip to content

Data portability ​

Your work on a Hapimatic Cloud VM is yours, and you can take all of it with you: to your own computer, to a local Hapimatic install, or anywhere else. This page says what you can take, how, when, and what is never part of an export.

What you can take ​

WhatWhere it lives on your VMHow to take it
Your customizations: skills, agents, commands, rules, output styles, CLAUDE.md and its includes, hooks, portable settings, MCP server definitions, plugin names, and the memory Claude Code keeps per project~/.claudeThe Configuration Porter export (below)
Your repositories and worktrees~/projectsgit push to your own remote, or rsync
Your transcripts and Hapimatic session data~/.claude/projects, ~/.hapimatic-privateThe backup export, or rsync
Your backupsYour VM's backup bucketThe backup export (below)

You have full sudo on your VM, so rsync and scp work for any file. No kind of data depends on the Porter: the backup export and rsync cover everything.

When you can take it ​

  • Any time while your service is active, with every method on this page, including after you cancel and before your paid period ends
  • For 30 days after your service ends. The service ends at the end of your paid period (or on the termination date we confirm with you), never on the day you ask to cancel. At that point your VM and its nightly backups stop, and your last backups are kept for 30 days. Within those 30 days, ask us to restore your VM from them and export as below. They are deleted within 7 days after the 30-day window ends.

An unpaid balance never shortens the window and never deletes your work.

The simplest plan is to export before your service ends, while your VM is still running.

Take your customizations (Configuration Porter) ​

  1. On the machine you are moving to, open Hapimatic and go to Settings → Configuration → Import. Copy the one-line command it shows.
  2. Open a regular terminal on your Hapimatic Cloud VM (over SSH, not inside a Hapimatic chat) and run the command. It packages your configuration and sends it back to the machine you are moving to.
  3. Back on that machine, review the plan and import it.

On a Hapimatic Cloud VM the export always uses the tenant profile. It carries everything in the first row of the table above, including the memory Claude Code keeps for each project (~/.claude/projects/<project>/memory/), and never the transcripts beside it. Memory is imported only into projects that already exist on the new machine: open the project there once with Claude Code first, then import. The import review lists memory files under Memory.

The export carries definitions only. It never carries a secret value: MCP server secrets, env values in your settings, and sign-in tokens are left out, and you enter them again on the new machine.

To use memory on the new machine, it needs a Hapimatic version whose import review has a Memory group. An older version imports everything else and skips memory without a warning, so update it first.

Take your backups (full-data export) ​

Your VM keeps nightly backups, encrypted with a key that only your backup passphrase unlocks. export-backup-v1.sh, installed on your VM beside restore-backup.sh, downloads them, decrypts them, and packs them into one file you can copy off:

sh
export-backup-v1.sh                     # all your sets: db, hapimatic-private, claude, projects
export-backup-v1.sh --sets claude,projects --tier weekly

Each set needs a restore grant. Mint one on the Restore a backup form at hapimatic.com/backup-passphrase: sign in, enter your VM's name and your backup passphrase, and copy the grant into the script. A grant works once and expires two minutes after it is minted, so the script asks for a fresh one for each set. The result is ~/hapimatic-export-<date>.tar.gz, readable only by you, with a MANIFEST.txt that lists what it holds and what it left out, a SHA256SUMS list of every file, and the archive's own checksum beside it. The script prints the scp and rsync commands that copy it to your computer.

If you forget your backup passphrase, your backups cannot be decrypted by anyone, including us.

What is never part of an export ​

  • Hapimatic Pro packs. They are licensed plugins. The Porter export leaves their names out (its manifest records the omission as premium-requires-activation), and the backup export leaves out the installed plugin files (~/.claude/plugins/) and the Hapimatic Pro marketplace token. A Hapimatic install runs Hapimatic Pro packs only after an SPD administrator has registered that install and it activates online, so they install through that channel, never from an export.
  • Your VM's own live credentials. The backup export leaves out the instance token, its provider API key store, and its signing keys (~/.hapimatic-private/settings.json and any copy of it, access.key, jwt-secret.json, and daemon.state.json), and your provider sign-ins (accounts/ and .credentials.json). Sign in again on the new machine.
  • Platform keys, billing authority, and other customers' credentials. None of them is ever on your VM.

Before an archive leaves your VM ​

The Configuration Porter export checks its archive before it prints the path or sends it anywhere, in both its bash and its PowerShell form. An archive that holds a common token shape (a GitHub, Anthropic, OpenAI, AWS, or Slack token, an age secret key, a JWT, or a private key), a sign-in file, a transcript, or a Hapimatic Pro pack file is deleted, and the script names each file and the rule it broke. Remove the secret from your configuration and run the export again. The check looks for those shapes only, so a password you typed into a hook, a skill, or a memory file still travels with them.

The backup export is not checked this way. It carries your transcripts and your files exactly as they are, which is its purpose, so keep its tarball private and copy it only to a machine you control.

The self-hosted core is licensed under AGPL-3.0.