docs/versioned_docs/version-v0.28.0/14-guides/06-server-migration.md
This guide explains how to migrate all of your data from one Karakeep server to another using the official CLI.
The migration copies user-owned data from a source server to a destination server in this order:
Notes:
npm install -g @karakeep/clidocker run --rm ghcr.io/karakeep-app/karakeep-cli:release --help--server-addr, --api-key--dest-server, --dest-api-keykarakeep --server-addr https://src.example.com --api-key <SOURCE_API_KEY> migrate \
--dest-server https://dest.example.com \
--dest-api-key <DEST_API_KEY>
The command is long‑running and shows live progress for each phase. You will be prompted for confirmation; pass --yes to skip the prompt.
--server-addr <url>: Source server base URL--api-key <key>: API key for the source server--dest-server <url>: Destination server base URL--dest-api-key <key>: API key for the destination server--batch-size <n>: Page size for bookmark migration (default 50, max 100)-y, --yes: Skip the confirmation prompt--batch-size if your source or destination is under heavy load.