87 lines
2.6 KiB
Markdown
87 lines
2.6 KiB
Markdown
---
|
|
title: Upgrade from InfluxDB 2.x to InfluxDB 2.7
|
|
description: >
|
|
To upgrade from InfluxDB 2.0 beta 16 or earlier to InfluxDB 2.7 (stable),
|
|
manually upgrade all resources and data to the latest version by completing these steps.
|
|
menu:
|
|
influxdb_v2:
|
|
parent: Upgrade InfluxDB
|
|
name: InfluxDB 2.x to 2.7
|
|
weight: 9
|
|
aliases:
|
|
- /influxdb/v2/upgrade/v2-to-v2/
|
|
related:
|
|
- /influxdb/v2/reference/cli/influxd/downgrade/
|
|
- /influxdb/v2/install/
|
|
---
|
|
|
|
Upgrade to InfluxDB {{< current-version >}} from an earlier version of InfluxDB 2.x.
|
|
|
|
{{% note %}}
|
|
#### InfluxDB 2.0 beta-16 or earlier
|
|
If you're upgrading from InfluxDB 2.0 beta-16 or earlier, you must first
|
|
[upgrade to InfluxDB 2.0](/influxdb/v2/upgrade/v2-beta-to-v2/),
|
|
and then complete the steps below.
|
|
{{% /note %}}
|
|
|
|
{{< tabs-wrapper >}}
|
|
{{% tabs %}}
|
|
[macOS](#)
|
|
[Linux](#)
|
|
[Windows](#)
|
|
[Docker](#)
|
|
{{% /tabs %}}
|
|
|
|
<!---------------------------- BEGIN MACOS CONTENT ---------------------------->
|
|
{{% tab-content %}}
|
|
Do one of the following:
|
|
|
|
- [Use homebrew to upgrade](#use-homebrew-to-upgrade)
|
|
- [Manually upgrade](#manually-upgrade)
|
|
|
|
### Use homebrew to upgrade
|
|
|
|
```sh
|
|
brew upgrade influxdb
|
|
```
|
|
|
|
### Manually upgrade
|
|
|
|
To manually upgrade, [download and install the latest version of InfluxDB {{< current-version >}} for macOS](/influxdb/v2/install/?t=macos/#manually-download-and-install-for-macos)
|
|
in place of your current 2.x version.
|
|
{{% /tab-content %}}
|
|
<!----------------------------- END MACOS CONTENT ----------------------------->
|
|
|
|
<!---------------------------- BEGIN LINUX CONTENT ---------------------------->
|
|
{{% tab-content %}}
|
|
|
|
[Download and install the latest version of InfluxDB {{< current-version >}} for Linux](/influxdb/v2/install/?t=Linux#download-and-install-influxdb-v2)
|
|
in place of your current 2.x version.
|
|
|
|
{{% /tab-content %}}
|
|
<!----------------------------- END LINUX CONTENT ----------------------------->
|
|
|
|
<!--------------------------- BEGIN WINDOWS CONTENT --------------------------->
|
|
{{% tab-content %}}
|
|
|
|
[Download and install the latest version of InfluxDB {{< current-version >}} for Windows](/influxdb/v2/install/?t=Windows)
|
|
in place of your current 2.x version.
|
|
|
|
{{% /tab-content %}}
|
|
<!---------------------------- END WINDOWS CONTENT ---------------------------->
|
|
|
|
<!--------------------------- BEGIN DOCKER CONTENT ---------------------------->
|
|
{{% tab-content %}}
|
|
|
|
To upgrade to InfluxDB {{< current-version >}} with Docker, update your Docker
|
|
image to use the latest InfluxDB image.
|
|
|
|
```sh
|
|
influxdb:{{< latest-patch >}}
|
|
```
|
|
|
|
{{% /tab-content %}}
|
|
<!---------------------------- END DOCKER CONTENT ----------------------------->
|
|
|
|
{{< /tabs-wrapper >}}
|