CLICommand referencebackup
backup
Commands, arguments, and options for openship backup.
See the workflow guide for examples. Global flags such as --json go before the command; see global options.
openship backup
Manage backups: policies, runs, restores, destinations
openship backup [options] [command]| Subcommand | Purpose |
|---|---|
policy | Backup policies (schedules) for a project |
run | Backup runs (executions) |
restore | Manage staged restores |
destination | Backup destinations (storage targets) |
openship backup restore
Manage staged restores
openship backup restore [options] [command]| Subcommand | Purpose |
|---|---|
apply [options] <restoreId> | Apply a staged restore (destructive) |
cancel <restoreId> | Cancel a staged or in-flight restore |
get [options] <restoreId> | Show one restore (optionally stream it) |
openship backup restore apply
Apply a staged restore (destructive)
openship backup restore apply [options] <restoreId>| Argument | Meaning |
|---|---|
restoreId | Restore ID from backup run restore |
| Option | Meaning |
|---|---|
--token <token> | Confirmation token from prepare |
--follow | Stream the restore to completion |
openship backup restore cancel
Cancel a staged or in-flight restore
openship backup restore cancel [options] <restoreId>| Argument | Meaning |
|---|---|
restoreId | Restore ID |
openship backup restore get
Show one restore (optionally stream it)
openship backup restore get [options] <restoreId>| Argument | Meaning |
|---|---|
restoreId | Restore ID |
| Option | Meaning |
|---|---|
--follow | Stream progress to completion |