CLICommand referencebackupdestination

backup destination

Commands, arguments, and options for openship backup destination.

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

openship backup destination

Backup destinations (storage targets)

openship backup destination [options] [command]
SubcommandPurpose
listList backup destinations
create [options]Create a backup destination
preflight <destinationId>Verify a destination (write + read + delete a probe object)
get <id>Show a destination without revealing its credentials
usage <id>Show policies and stored backup usage for a destination
update <id> <file>Update selected destination fields; omitted credentials stay unchanged
remove|rm <id>Remove a destination that has no active policies
preflight-draft <file>Test destination settings before saving them

openship backup destination create

Create a backup destination

openship backup destination create [options]
OptionMeaning
--name <name>Display name
--kind <kind>s3_compatible | sftp | openship_server | local
--endpoint <url>Endpoint URL / absolute path (local)
--region <region>S3 region
--bucket <bucket>S3 bucket
--path-prefix <prefix>Key/path prefix
--ssh-host <host>SFTP host
--ssh-port <port>SFTP port
--ssh-user <user>SFTP user
--server <id>Server ID (openship_server kind)
--access-key-id <id>S3 access key ID
--secret-access-key <key>S3 secret access key
--sftp-password <pw>SFTP password
--sftp-private-key <key>SFTP private key (raw)
--sftp-private-key-file <path>Read the SFTP private key from a file
--sftp-key-passphrase <pw>SFTP private key passphrase
--defaultMark as the default destination

openship backup destination get

Show a destination without revealing its credentials

openship backup destination get [options] <id>
ArgumentMeaning
idDestination ID

openship backup destination list

List backup destinations

openship backup destination list [options]

openship backup destination preflight

Verify a destination (write + read + delete a probe object)

openship backup destination preflight [options] <destinationId>
ArgumentMeaning
destinationIdDestination ID

openship backup destination preflight-draft

Test destination settings before saving them

openship backup destination preflight-draft [options] <file>
ArgumentMeaning
fileJSON destination input; include id to reuse saved credentials

openship backup destination remove

Remove a destination that has no active policies

openship backup destination remove|rm [options] <id>
ArgumentMeaning
idDestination ID

openship backup destination update

Update selected destination fields; omitted credentials stay unchanged

openship backup destination update [options] <id> <file>
ArgumentMeaning
idDestination ID
fileJSON destination patch

openship backup destination usage

Show policies and stored backup usage for a destination

openship backup destination usage [options] <id>
ArgumentMeaning
idDestination ID

On this page