docs: format migration guides

This commit is contained in:
Peter Steinberger
2026-04-27 11:11:24 +01:00
parent 6778e44333
commit 7630322f64
2 changed files with 9 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ Onboarding imports require a fresh OpenClaw setup. If you already have local Ope
```bash
openclaw onboard --import-from claude --import-source ~/.claude
```
</Tab>
<Tab title="CLI">
Use `openclaw migrate` for scripted or repeatable runs. See [`openclaw migrate`](/cli/migrate) for the full reference.
@@ -37,6 +38,7 @@ Onboarding imports require a fresh OpenClaw setup. If you already have local Ope
```
Add `--from <path>` to import a specific Claude Code home or project root.
</Tab>
</Tabs>
@@ -86,6 +88,7 @@ When `--from` points at a project root, OpenClaw imports only that project's Cla
```
The plan lists everything that will change, including conflicts, skipped items, and sensitive values redacted from nested MCP `env` or `headers` fields.
</Step>
<Step title="Apply with backup">
```bash
@@ -93,6 +96,7 @@ When `--from` points at a project root, OpenClaw imports only that project's Cla
```
OpenClaw creates and verifies a backup before applying.
</Step>
<Step title="Run doctor">
```bash
@@ -100,6 +104,7 @@ When `--from` points at a project root, OpenClaw imports only that project's Cla
```
[Doctor](/gateway/doctor) checks for config or state issues after the import.
</Step>
<Step title="Restart and verify">
```bash
@@ -108,6 +113,7 @@ When `--from` points at a project root, OpenClaw imports only that project's Cla
```
Confirm the gateway is healthy and your imported instructions, MCP servers, and skills are loaded.
</Step>
</Steps>

View File

@@ -51,6 +51,7 @@ Run `openclaw status` on the old machine to confirm your state directory path. C
```
If you use multiple profiles (for example `~/.openclaw-work`), archive each separately.
</Step>
<Step title="Install OpenClaw on the new machine">
@@ -66,6 +67,7 @@ Run `openclaw status` on the old machine to confirm your state directory path. C
```
Ensure hidden directories were included and file ownership matches the user that will run the gateway.
</Step>
<Step title="Run doctor and verify">
@@ -76,6 +78,7 @@ Run `openclaw status` on the old machine to confirm your state directory path. C
openclaw gateway restart
openclaw status
```
</Step>
</Steps>