---
title: influxctl database undelete
description: The influxctl database undelete command undeletes a previously deleted database in an InfluxDB Cloud Dedicated cluster.
url: https://docs.influxdata.com/influxdb3/cloud-dedicated/reference/cli/influxctl/database/undelete/
estimated_tokens: 277
publisher: InfluxData
canonical: https://docs.influxdata.com/influxdb3/cloud-dedicated/reference/cli/influxctl/database/undelete/
date: '2025-06-30T15:05:37-06:00'
lastmod: '2025-06-30T15:05:37-06:00'
---

* influxctl 2.10.2+

The `influxctl database undelete` command undeletes a previously deleted
database in an InfluxDB Cloud Dedicated cluster and restores the
database with the same retention period, table, and column limits as when it was
deleted.

> [!Important]
> The database name must match the name of the deleted database and**a new database with the same name cannot exist**.

## Usage

```bash
influxctl database undelete [flags] <DATABASE_NAME>
```

## Arguments

|     Argument     |            Description             |
|------------------|------------------------------------|
|**DATABASE\_NAME**|The name of the database to undelete|

## Flags

|Flag|        |    Description    |
|----|--------|-------------------|
|`-h`|`--help`|Output command help|

*Also see [`influxctl` global flags](/influxdb3/cloud-dedicated/reference/cli/influxctl/#global-flags).*
| Argument | Description |
| --- | --- |
| Argument | Description |
| DATABASE_NAME | The name of the database to undelete |

| Flag |  | Description |
| --- | --- | --- |
| Flag |  | Description |
| -h | --help | Output command help |
