Restore data
The influx restore
command only restores data to InfluxDB OSS, not InfluxDB Cloud.
- Stop the
influxd
server. Use the command and specify the path to the backup directory in the first argument.
Recover from a failed restore
If the restoration process fails, InfluxDB preserves existing data in a tmp
directory in the (default is ).
- Remove the
.tmp
extensions from each of the copied files. - Restart the server.