Documentation

influxctl table undelete

The influxctl table undelete command undeletes a previously deleted table in an InfluxDB Cloud Dedicated cluster and restores the table with the same partition template and other table settings present when the table was deleted.

The table name must match the name of the deleted table and a new, active table with the same name cannot exist.

Usage

influxctl table undelete <DATABASE_NAME> <TABLE_ID>

Arguments

ArgumentDescription
DATABASE_NAMEThe name of the database that contains the table to undelete
TABLE_IDThe ID of the table to undelete

View deleted table IDs

To view the IDs of deleted tables, use the influxctl table list command with the --filter-status=deleted flag–for example:

influxctl table list --filter-status=deleted 
DATABASE_NAME

Replace DATABASE_NAME with the name of the database associated with the table you want to undelete.

Flags

FlagDescription
-h--helpOutput command help

Was this page helpful?

Thank you for your feedback!


The future of Flux

Flux is going into maintenance mode. You can continue using it as you currently are without any changes to your code.

Read more

New in InfluxDB 3.4

Key enhancements in InfluxDB 3.4 and the InfluxDB 3 Explorer 1.2.

See the Blog Post

InfluxDB 3.4 is now available for both Core and Enterprise, which introduces offline token generation for use in automated deployments and configurable license type selection that lets you bypass the interactive license prompt. InfluxDB 3 Explorer 1.2 is also available, which includes InfluxDB cache management and other new features.

For more information, check out: