Documentation

Undelete a table

Use the influxctl table undelete command to restore a previously deleted table in your InfluxDB Cloud Dedicated cluster.

To undelete a table:

  • A new table with the same name cannot already exist.
  • You must have appropriate permissions to manage databases.

When you undelete a table, it is restored with the same partition template and other settings as when it was deleted.

Tables can only be undeleted for approximately 14 days after they are deleted. After this grace period, all Parquet files associated with the deleted table are permanently removed and the table cannot be undeleted.

Undelete a table using the influxctl CLI

influxctl table undelete 
DATABASE_NAME
TABLE_ID

Replace the following:

  • DATABASE_NAME: Name of the database associated with the deleted table
  • TABLE_ID: ID of the deleted table to restore

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.


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: