CLICommand referencebackuprun

backup run

Commands, arguments, and options for openship backup run.

See the workflow guide for examples. Global flags such as --json go before the command; see global options.

openship backup run

Backup runs (executions)

openship backup run [options] [command]
SubcommandPurpose
list [options]List backup runs for a project
get [options] <runId>Show one run (optionally stream it)
protect [options] <runId>Protect a run from retention pruning (or release it)
restore [options] <runId>Prepare a restore from a run (stages it; apply separately)

openship backup run get

Show one run (optionally stream it)

openship backup run get [options] <runId>
ArgumentMeaning
runIdBackup run ID
OptionMeaning
--followStream progress to completion

openship backup run list

List backup runs for a project

openship backup run list [options]
OptionMeaning
--project <id>Project ID
--service <id>Filter to a single service
--limit <n>Max rows (default 50)

openship backup run protect

Protect a run from retention pruning (or release it)

openship backup run protect [options] <runId>
ArgumentMeaning
runIdBackup run ID
OptionMeaning
--until <iso>Protect until this ISO timestamp
--releaseClear the protection so retention can prune it

openship backup run restore

Prepare a restore from a run (stages it; apply separately)

openship backup run restore [options] <runId>
ArgumentMeaning
runIdBackup run ID to restore from
OptionMeaning
--mode <mode>in_place (default) or to_fork (default: "in_place")
--fork-server <id>Target mail server ID (required for --mode to_fork)
--followStream the preparation phase

On this page