substrate export and substrate import together to move a complete substrate — workflow and runtime state — between machines or checkouts. Export writes a .tar.gz to any path you choose; import restores it with safeguards that prevent you from overwriting a live or running project by accident.
Export
.tar.gz of the substrate to any path. The archive includes both the workflow (boards, policies, members) and runtime state (the task database). Use it to move a project between machines or to hand someone a substrate in full.
string
required
The destination path for the
.tar.gz archive.Import
.substrate/.
string
required
The
.tar.gz archive to restore.flag
Overwrite an existing project. Without this flag,
import refuses when a config.json is already present.Two Refusals
import stops in two situations, regardless of --force:
- An existing project — a
config.jsonin place meansimportstops unless you pass--force. - A live server — if a running
serveholds.substrate/substrate.pid,importrefuses outright. Writing over a live database would corrupt it. Stop the server first.