This page documents an earlier version of InfluxDB. InfluxDB v2.6 is the latest stable version. See the equivalent InfluxDB v2.6 documentation: influx restore.
influxd restore command restores backup data and metadata from an InfluxDB backup directory.
Shut down the
influxd server before restoring data.
influxd restore [flags]
|Activate portable restore mode, which consumes files in an improved Enterprise-compatible format that includes a manifest. If not specified, the legacy restore mode is used.|
|InfluxDB OSS host to connect to where the data will be restored|
|Name of database to be restored from the backup (InfluxDB OSS or InfluxDB Enterprise).|
|Name of the InfluxDB OSS database to import archived data into. Optional. If not specified, then the value of |
|Name of retention policy to restore. Optional. Requires that |
|Name of retention policy to restore to. Optional. Requires that |
|Shard ID to restore. Optional. Requires that |
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB and this documentation. To find support, use the following resources:
InfluxDB Cloud and InfluxDB Enterprise customers can contact InfluxData Support.