---
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: 416
product: InfluxDB Cloud Dedicated
version: cloud-dedicated
---

# influxctl database undelete

-   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.

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).*
