Skip to content

Migration

Migration (Soviez to Soviez)

Moving a Soviez Production from one server to another.

Overview

The migration runs in phases: discovery → pairing → domain and TLS → streaming transfer → authorization and license rebind → cutover → stabilization → archive and retirement of the old server.

The old server is never deleted automatically.

Commands

Use the --migration-* command family. There is no single-flag shortcut.

Main phases

  1. Discover the source Production
  2. Prepare the destination server and pair it with the source, with confirmations
  3. Readiness checks, and optionally choose Stages to bring along
  4. Domain, DNS challenge, landing page, TLS and routing
  5. Transfer (direct streaming, can resume)
  6. Authorize and activate the destination, rebinding the license
  7. Cutover, with DNS retry, abort and a rollback window
  8. Stabilize, then archive and retire the old server
  9. Quarantine before cutover when the source isn't trusted

Selected commands

soviez.sh --migration-discover <production-id>
soviez.sh --migration-bootstrap-destination [--confirm]
soviez.sh --migration-pair <production-id> --destination-code CODE [--confirm]
soviez.sh --migration-readiness <pair-id>
soviez.sh --migration-transfer-start <pair-id> [--confirm]
soviez.sh --migration-activate-destination <pair-id> [--confirm]
soviez.sh --migration-cutover-start <pair-id> [--confirm]
soviez.sh --migration-cutover-rollback <operation-id> [--confirm]
soviez.sh --migration-status <operation-id>

soviez.sh --help lists every migration command.