Deleting a ClickHouse cluster
Before deleting a cluster
-
Disable deletion protection for the cluster if it is enabled.
-
The cluster ID is required to restore a deleted cluster from a backup.
After you delete a database cluster, its backups are kept for 7 days for recovery purposes.
Deleting a cluster
Management console
CLI
- In the management console
, go to the folder page and select Managed Service for ClickHouse. - Click
If you don't have the Nebius AI command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
To delete a cluster, run the command:
ncp managed-clickhouse cluster delete <cluster name or ID>
You can query the cluster ID and name with a list of clusters in the folder.