arch-m2m captures a running tmux session tree on Arch Linux x86-64 and restores it on another compatible system. You can pick up a partially typed Bash command, scroll back through earlier output, or save edits that were still in nano's buffer at capture time.
The semantic format supports tmux 3.8, Bash 5.3.20 with Readline 8.3.6, and nano 9.3. Adapters read application state and rebuild it in fresh processes on the destination. This permits transfers between Intel and AMD x86-64 using the registered executable and library builds. Capture requires a tree created by the tool and applications waiting at supported input boundaries. Active SSH connections and unrelated jobs fall outside this profile. Supported states and files
| What you have | Commands | What you need to restore |
|---|---|---|
An instance created by arch-m2m new |
arch-m2m capture, verify, restore |
The semantic bundle, registered application builds, matching tmux debug symbols and the approved CRIU runtime |
| A managed native instance or a verified native checkpoint | arch-m2m native save, verify, restore under the native subcommand |
The native checkpoint and its required parents, matching control files, CRIU runtime and compatible CPU/kernel features |
Since 0.4.0, semantic restore requires per-process seccomp evidence. You can inspect 0.3.0 semantic bundles and verify their contents, but restoration requires a new capture from the live source. For existing native checkpoints, see the toolkit upgrade procedure.
Run host operations as root, outside the managed tmux session. On a prepared source, start a session and attach to it. After detaching, capture it into a new directory.
arch-m2m new --name source-01 --session work
owner=/srv/arch-m2m/semantic/instances/source-01/constructor-owner.json
arch-m2m attach --owner "$owner" --session work
arch-m2m capture --owner "$owner" --output /root/work-bundle
arch-m2m verify /root/work-bundleCopy the completed directory to the prepared destination. Restore checks the application state and terminal relationships, then performs a local CRIU dump and independent restore before it publishes the new instance. Installation and destination setup · Complete capture and restore example
- Administrators — install the tool, choose a checkpoint format and restore an instance.
- Maintainers — build the Arch package, qualify an adapter and run the test suites.
- Project wiki — follow a shell and its editor through the kernel and the restore procedure.
- Arch packaging · CRIU patches
The project code is licensed under MIT. Portions derived from tmux retain ISC notices and the CRIU patches retain GPL-2.0-only terms. See LICENSE and licenses/ in the source tree.