Upgrade from InfluxDB 1.x to 2.9

API token hashing is enabled by default in InfluxDB OSS 2.9.0

Stronger token security: tokens are stored as hashes on disk, so a copy of the database file doesn’t expose usable tokens. Existing tokens are hashed on first startup and the original strings can’t be recovered afterward — capture any plaintext tokens you still need before you upgrade.

For more information, see Token hashing.

Explore different methods for upgrading from InfluxDB 1.x to InfluxDB 2.9 and determine which best suits your use case. Consider the following:

Do you want to migrate all your time series data?

Automatically upgrade to InfluxDB 2.9.

Do you want to selectively migrate your time series data?

Manually upgrade to InfluxDB 2.9.

Are you using Docker?

Upgrade to the 2.x Docker image.

Are you using continuous queries (CQs)?

After you upgrade (automatically, manually, or using Docker), migrate your 1.x CQs to InfluxDB 2.9 tasks.


Was this page helpful?

Thank you for your feedback!