influx restore
- influx CLI 2.0.0+
- InfluxDB 2.0.0+
- Updated in CLI v2.0.7
When restoring data from a backup file set, InfluxDB temporarily moves existing data and metadata while restore
runs. After restore
completes, the temporary data is deleted. If the restore process fails, InfluxDB preserves the data in the temporary location.
Cannot restore to existing buckets
The influx restore
command cannot restore data to existing buckets. Use the --new-bucket
flag to create a bucket with a new name and restore data into it. To restore data and retain bucket names, delete existing buckets and then begin the restore process.
Authentication credentials
Restore backup data
Restore backup data for a specific bucket into a new bucket
Restore and replace all data
restores all time series data and InfluxDB key-value data such as tokens, dashboards, users, etc.