Skip to main content

migrate

Export and import Clawdbot installations for migration between machines. Use when the user wants to migrate Clawdbot to a new computer, backup their setup, or restore from a backup. Handles workspace files, config, WhatsApp sessions, and optionally credentials.

소스 정보

저장소
Kernel8901/ai-agent-skills-classification
최근 소스 활동
2026년 4월 4일 15:26
감지된 SKILL.md 언어
영어
스타
6
포크
1

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
4 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
migrate
description
Export and import Clawdbot installations for migration between machines. Use when the user wants to migrate Clawdbot to a new computer, backup their setup, or restore from a backup. Handles workspace files, config, WhatsApp sessions, and optionally credentials.
# Clawdbot Migration Export and import complete Clawdbot installations. ## Export Create a portable archive of the current installation: ```bash bash scripts/export.sh ``` Options: - `--output, -o PATH` — Output directory (default: current) - `--workspace PATH` — Workspace path (default: ~/clawd) - `--include-sessions` — Include session transcripts - `--include-credentials` — Include credentials ⚠️ handle with care Example: ```bash bash scripts/export.sh -o /tmp --include-sessions ``` Creates: `clawdbot-export-YYYYMMDD_HHMMSS.tar.gz` ## Import Restore from an export archive on a new machine: ```bash bash scripts/import.sh <archive.tar.gz> ``` Options: - `--workspace PATH` — Target workspace (default: ~/clawd) - `--force, -f` — Overwrite without prompting Example: ```bash bash scripts/import.sh clawdbot-export-20260129_120000.tar.gz --force ``` ## What's Included | Component | Default | Flag | |-----------|---------|------| | Workspace (~/clawd) | ✓ | — | | Config (clawdbot.json) | ✓ | — | | Managed skills | ✓ | — | | WhatsApp session | ✓ | — | | Session transcripts | ✗ | `--include-sessions` | | Credentials | ✗ | `--include-credentials` | **Excluded from workspace** (can be rebuilt): `node_modules/`, `.next/`, `.open-next/`, `.vercel/`, `.wrangler/`, `.git/`, `dist/`, `build/` ## Migration Workflow 1. On old machine: ```bash bash scripts/export.sh -o ~/Desktop ``` 2. Transfer archive to new machine (scp, USB, cloud, etc.) 3. On new machine: ```bash npm install -g clawdbot bash scripts/import.sh ~/clawdbot-export-*.tar.gz cd ~/clawd && clawdbot gateway start ``` WhatsApp session transfers automatically — no re-scan needed.
GitHub에서 보기