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.
- Creates a script that creates tokens for 1.x users. This script needs to be revised and run manually after starting 2.x.
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|
|(Optional) Custom InfluxDB 1.x config file path, else the default config file||string|
|Path for persistent engine files (default ||string|
|Skip the confirmation prompt|
|Help for |
|Path to influx command (default ||string|
|(Optional) Custom log file path (default ||string|
|Primary organization name||string|
|Password for username||string|
|(Optional) Duration bucket will retain data (default ||string|
|(Optional) Generated security upgrade script path (default ||string|
|(Optional) Token for username. If not specified, a token is auto-generated.||string|
|Path to source 1.x ||string|
|Verbose output (default: ||boolean|
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.