WeaveDocs
Strand Migrate

Commands

Every `strand-migrate` subcommand and flag — operator tool for strand schema and data migrations.

Purpose

Migration tool for strand data and operational storage changes.

This page follows the real source shape for Strand Migrate and explains the workflow a developer is likely to use first.

Command surface

Use this page to understand the operational commands exposed by the tool. Prefer command groups that match the subsystem you are testing, then inspect the API surface page for the exact Rust enum or command handler.

Primary types to know

  • No public items were detected by the source scan. This page should be updated when the crate exposes new items.

Example shape

# Full command surface for strand-migrate.

strand-migrate inspect <dir>                         # version + layout report
strand-migrate plan    <dir> --from <vN> --to <vM>   # print migration plan only
strand-migrate up      <dir> --from <vN> --to <vM>   # apply forward migration
strand-migrate down    <dir> --from <vN> --to <vM>   # reverse where supported
strand-migrate verify  <dir>                         # post-migrate integrity check
strand-migrate backup  <dir> --out <archive>         # tar+zstd before migrating

# Common flags (work on every subcommand):
#   --dry-run             print the plan without writing
#   --json                emit JSON for machine consumption
#   --progress            stream progress events to stderr