Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 2.52 KB

README.md

File metadata and controls

35 lines (25 loc) · 2.52 KB

Arch Linux administrator guide

Русский

For a new session that will move between Intel and AMD x86-64, start with arch-m2m new. If you already have a verified native checkpoint, use arch-m2m native. The choice determines the files to back up and the restore procedure.

Operation Semantic bundle Native checkpoint
First source Create an owned session with new Provision a verified seed checkpoint and restore an instance
Select an instance Pass its constructor-owner.json with --owner Use the selected default or native --instance NAME
Capture capture --owner FILE --output NEW_DIR native save NEW_NAME
Verify verify BUNDLE_DIR native verify CHECKPOINT_NAME
Restore restore BUNDLE_DIR --name NAME --tmux-debug FILE --criu-runtime DIR native restore CHECKPOINT_NAME --name NAME; --use selects it
On disk Private bundle directory chosen at capture Directory in /srv/arch-m2m/native/checkpoints and its required parents

Installation

Install a trusted package using pacman -U /path/to/package.pkg.tar.zst. To build a local package from a source checkout, run make aur-local, change to dist/local-aur/ and run makepkg -si as an ordinary Arch build user. Install the matching application builds and provision the required runtime assets separately. Packaging instructions

arch-m2m --version
arch-m2m adapters
man 8 arch-m2m
man 8 arch-m2m-native

Host operations require root in the initial systemd host environment, cgroup v2 with freezer support, usable namespaces and the registered x86-64 builds. Package installation places the executable under /usr/bin, code and profiles under /usr/lib/arch-m2m, and operator documentation under /usr/share/doc/arch-m2m. The two modes initialize their own state on first setup.

Procedures

  1. Check portability and state coverage before choosing which sessions and files to capture.
  2. Prepare both hosts and transfer a semantic bundle. This guide also covers ownership, verification, detaching and shutdown.
  3. Back up or recover a native instance. Use this procedure when your backup contains CRIU images and capability parents.

A successful capture fixes a point in time. Save a new snapshot after further work. Both formats can contain shell history, terminal output and unsaved file contents. Preserve their access controls during storage and transfer, and back up external project data separately.