dbaas create
tcloud dbaas create
Create a database cluster
Synopsis
Create a new database cluster in the Thalassa Cloud Platform. Use –restore-from-backup to create a cluster from an existing backup.
tcloud dbaas create [flags]Options
--annotations strings Annotations in key=value format (can be specified multiple times)
--backup-object-storage-id string Backup object storage ID (enables backup storage, requires --with-backup-bucket=false)
--delete-protection Enable delete protection
--description string Description of the database cluster
--engine string Database engine (e.g., postgres) (required)
--engine-version string Engine version (required)
-h, --help help for create
--instance-type string Instance type (required)
--labels strings Labels in key=value format (can be specified multiple times)
--name string Name of the database cluster (required)
--no-header Do not print the header
--replicas int Number of replicas (default: 0)
--restore-from-backup string Backup identity to restore the cluster from
--restore-target-lsn string Point-in-time recovery target LSN (requires --restore-from-backup)
--restore-target-time string Timestamp to restore to. Accepts RFC3339 (e.g. 2023-12-25T10:00:00Z) or barman format (YYYY-MM-DD HH:MM:SS.00000±TZ, e.g. '2023-08-11 11:14:21.00000+02') (requires --restore-from-backup)
--storage int Storage size in GB (required)
--subnet string Subnet identity, slug, or name (required)
--volume-type string Volume type (default "block")
--vpc string VPC identity, slug, or name
--wait Wait for the database cluster to be available before returning
--wait-timeout duration Maximum time to wait for the database cluster to be available (default 20m0s)
--with-backup-bucket Provision a backup object storage bucket for the database clusterOptions inherited from parent commands
--access-token string Access Token authentication (overrides context)
--api string API endpoint (overrides context)
--client-id string OIDC client ID for OIDC authentication (overrides context)
--client-secret string OIDC client secret for OIDC authentication (overrides context)
-c, --context string Context name
--debug Debug mode
--ignore-dir-config Ignore directory-local .thalassa defaults
-O, --organisation string Organisation slug or identity (overrides context)
-P, --project string Project identity (overrides context; slug is resolved to identity; use "root" for organisation scope)
--token string Personal access token (overrides context)SEE ALSO
- tcloud dbaas - Manage database clusters and related services