← 返回
效率工具 中文

Openclaw Migrate

Migrate OpenClaw configs, skills, memory, tokens, environment variables, and cron jobs to a new host via SSH with setup, test, and migrate commands.
通过SSH将OpenClaw配置、技能、记忆、令牌、环境变量及定时任务迁移至新主机,支持安装、测试与迁移命令。
chris6970barbarian-hue
效率工具 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 1,038
下载
💾 16
安装
1
版本
#latest

概述

OpenClaw Migration Skill

Migrate OpenClaw from one host to another via SSH.

Skill Metadata

  • Name: openclaw-migrate
  • Type: OpenClaw Skill
  • Purpose: Migrate all OpenClaw config, skills, memory, tokens to new host

Setup Commands

Prerequisites

  1. SSH access to new host
  2. SSH key (recommended for automation)
  3. NPM installed on new host

Configuration

# Configure migration target
openclaw-migrate setup

# It will ask for:
# - New host IP/hostname (e.g., 192.168.1.50)
# - SSH user (e.g., crix)
# - SSH key path (optional, Enter for default)

Usage Commands

Main Migration

# Start migration (one command!)
openclaw-migrate migrate

Other Commands

# Test SSH connection
openclaw-migrate test

# Show current configuration
openclaw-migrate status

# Reconfigure target
openclaw-migrate setup

What Gets Synced

Files & Directories

SourceDestination
---------------------
~/.openclaw/~/.openclaw/ (skills, memory, config)
~/.config/openclaw/~/.config/openclaw/
OpenClaw npm packageReinstalled if missing

Environment Variables

VariableDescription
-----------------------
HA_URLHome Assistant URL
HA_TOKENHome Assistant token
GITHUB_TOKENGitHub API token
BRAVE_API_KEYBrave Search API
GOOGLE_API_KEYGoogle API key
Any HA_* varsAll HA related vars

System Data

  • Cron jobs (via crontab)
  • OpenClaw gateway configuration

Migration Flow

1. setup → Configure target host
2. test → Verify SSH connection
3. migrate → Full sync and start
   ├─ Check/Install OpenClaw
   ├─ Sync workspace (~/.openclaw/)
   ├─ Sync config
   ├─ Sync environment variables
   ├─ Sync cron jobs
   └─ Start gateway on new host

Error Handling

  • SSH connection failed: Show retry option
  • OpenClaw not on remote: Offer to install
  • Sync failed: Report which files failed
  • Config missing: Prompt for setup

Related Skills

  • skillstore (search/install skills)

Files

openclaw-migrate/
├── SKILL.md       # This file
├── README.md      # User docs
├── main.js        # Migration CLI
└── config.json    # Saved target config

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 07:29 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

suspicious
查看报告

🔗 相关推荐

data-analysis

Acp

chris6970barbarian-hue
雇佣专业代理处理任何任务——数据分析、交易、内容生成、研究、链上操作、3D打印、实物商品、礼品配送等。
★ 1 📥 1,693
productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 275 📥 114,777
productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 445 📥 226,178