# Upgrade from InfluxDB 2.0.9 to 2.2

**URL:** <https://community.influxdata.com/t/upgrade-from-influxdb-2-0-9-to-2-2/25428>\
**Category:** InfluxDB 2\
**Created:** [June 15, 2022, 1:48am UTC](https://community.influxdata.com/t/upgrade-from-influxdb-2-0-9-to-2-2/25428 "2022-06-15T01:48:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![grant1](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/grant1/32/15107_2.png) [@grant1](https://community.influxdata.com/u/grant1)\
**Post date:** [June 15, 2022, 1:48am UTC](https://community.influxdata.com/t/upgrade-from-influxdb-2-0-9-to-2-2/25428/1 "2022-06-15T01:48:23Z")

</div>

I am running InfluxDB 2.0.9 on Debian and wish to upgrade to 2.2

Can someone explain:

1. how to make a backup of my data (just in case things go bad)?
2. how to do the upgrade? With other Linux programs, a script with a curl statement or something can often be used. What is the official method that Influx recommends for upgrading?

Thank you.

---

<div class="post-metadata">

**Author:** ![Anaisdg](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/anaisdg/32/6401_2.png) [@Anaisdg](https://community.influxdata.com/u/Anaisdg)\
**Post date:** [June 15, 2022, 8:32pm UTC](https://community.influxdata.com/t/upgrade-from-influxdb-2-0-9-to-2-2/25428/2 "2022-06-15T20:32:05Z")

</div>

Hello @grant1,  
Have you seen:

> **[Back up data in InfluxDB | InfluxDB OSS 2.6 Documentation](https://docs.influxdata.com/influxdb/v2.2/backup-restore/backup/)**
>
> Use the influx backup command to back up data and metadata stored in InfluxDB.

Here’s the official recomendation:

> **[Upgrade from InfluxDB 2.x to InfluxDB 2.6 | InfluxDB OSS 2.6 Documentation](https://docs.influxdata.com/influxdb/v2.2/upgrade/v2-to-v2/?t=Linux)**
>
> To upgrade from InfluxDB 2.0 beta 16 or earlier to InfluxDB 2.6 (stable), manually upgrade all resources and data to the latest version by completing these steps.

> **[Install InfluxDB | InfluxDB OSS 2.6 Documentation](https://docs.influxdata.com/influxdb/v2.2/install/?t=Linux#download-and-install-influxdb-v21)**
>
> Download, install, and set up InfluxDB OSS.

---

<div class="post-metadata">

**Author:** ![grant1](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/grant1/32/15107_2.png) [@grant1](https://community.influxdata.com/u/grant1)\
**Post date:** [June 15, 2022, 8:45pm UTC](https://community.influxdata.com/t/upgrade-from-influxdb-2-0-9-to-2-2/25428/3 "2022-06-15T20:45:16Z")

</div>

Thank you @Anaisdg I knew the instructions were probably out there, but sometimes search is elusive.

BTW, I have started the InfluxDB University videos that you made. They are excellent!
