CLICommand referenceprojectdatabase

project database

Commands, arguments, and options for openship project database.

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

openship project database

Manage project databases, replicas, backups and application connections

openship project database [options] [command]
SubcommandPurpose
list <project>List project databases and their operation sequences
imports <project>List backup artifacts available to import into a database
get [options] <project> <database>Read database health, backups and progress
create [options] <id> [file]Provision a database, optionally from an import, copy or backup
update [options] <id> [file]Apply database configuration at the reviewed sequence
retry [options] <project> <database>Resume a failed database operation at its current sequence
backup [options] <project> <database>Start a database backup at the reviewed sequence
connect [options] <id> [file]Bind a database to an environment key; null disconnects, replacement needs its sequence
remove [options] <id> [file]Remove a named database with an explicit retain-or-delete-data decision
events [options] <project>Stream health and operation progress

openship project database backup

Start a database backup at the reviewed sequence

openship project database backup [options] <project> <database>
ArgumentMeaning
projectProject ID
databaseDatabase ID
OptionMeaning
--sequence <number>Current database sequence

openship project database connect

Bind a database to an environment key; null disconnects, replacement needs its sequence

openship project database connect [options] <id> [file]
ArgumentMeaning
idResource ID
fileJSON input file, or - for stdin
OptionMeaning
--schemaPrint the accepted JSON schema without making a request

openship project database create

Provision a database, optionally from an import, copy or backup

openship project database create [options] <id> [file]
ArgumentMeaning
idResource ID
fileJSON input file, or - for stdin
OptionMeaning
--schemaPrint the accepted JSON schema without making a request

openship project database events

Stream health and operation progress

openship project database events [options] <project>
ArgumentMeaning
projectProject ID
OptionMeaning
--timeout <ms>Stop after this deadline

openship project database get

Read database health, backups and progress

openship project database get [options] <project> <database>
ArgumentMeaning
projectProject ID
databaseDatabase ID
OptionMeaning
--observeRefresh observed database health

openship project database imports

List backup artifacts available to import into a database

openship project database imports [options] <project>
ArgumentMeaning
projectProject ID

openship project database list

List project databases and their operation sequences

openship project database list [options] <project>
ArgumentMeaning
projectProject ID

openship project database remove

Remove a named database with an explicit retain-or-delete-data decision

openship project database remove [options] <id> [file]
ArgumentMeaning
idResource ID
fileJSON input file, or - for stdin
OptionMeaning
--schemaPrint the accepted JSON schema without making a request
-y, --yesConfirm this operation

openship project database retry

Resume a failed database operation at its current sequence

openship project database retry [options] <project> <database>
ArgumentMeaning
projectProject ID
databaseDatabase ID
OptionMeaning
--sequence <number>Current database sequence

openship project database update

Apply database configuration at the reviewed sequence

openship project database update [options] <id> [file]
ArgumentMeaning
idResource ID
fileJSON input file, or - for stdin
OptionMeaning
--schemaPrint the accepted JSON schema without making a request
-y, --yesConfirm this operation

On this page