Be sure to back up all data before upgrading with
This command performs the following actions:
- Creates the InfluxDB 2.x configuration file using 1.x configuration file options.
Unsupported 1.x options are reported to standard output.
If the configuration file is not available, the 1.x database folder can be passed via th
- Copies and upgrades 1.x database files.
The target 2.x database directory is specified by the
If changed, the bolt path can be specified by the
influxd upgrade [flags] influxd upgrade [command]
|Path for boltdb database (default ||string|
|Primary bucket name||string|
|Custom InfluxDB 1.x config file path (default ||string|
|Path for exported 1.x continuous queries (default ||string|
|Path for persistent engine files (default ||string|
|Skip the confirmation prompt|
|Help for |
|Path for 2.x |
|Supported log levels are ||string|
|Custom log file path (default ||string|
|Primary organization name||string|
|Overwrite existing files at the output paths instead of aborting the upgrade process|
|Password for username||string|
|Duration bucket will retain data (default ||string|
|Token for username. If not specified, a token is auto-generated.||string|
|Path to source 1.x ||string|
|Destination path for upgraded 2.x configuration file (default ||string|
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, the following resources are available:
InfluxDB Cloud and InfluxDB Enterprise customers can contact InfluxData Support.