# Problem backup 1.8 restore 2.6

**URL:** <https://community.influxdata.com/t/problem-backup-1-8-restore-2-6/28943>\
**Category:** InfluxDB 2\
**Created:** [March 7, 2023, 12:30pm UTC](https://community.influxdata.com/t/problem-backup-1-8-restore-2-6/28943 "2023-03-07T12:30:02Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![stif](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/stif/32/12885_2.png) [@stif](https://community.influxdata.com/u/stif)\
**Post date:** [March 15, 2023, 4:19pm UTC](https://community.influxdata.com/t/problem-backup-1-8-restore-2-6/28943/3 "2023-03-15T16:19:56Z")

</div>

i have solved it now. 3 days after me another user had a similar question: [Import v1.x backup to v2.6 - #3 by FredAnna](https://community.influxdata.com/t/import-v1-x-backup-to-v2-6/29003/3) and the answer from user @Pooh pointed me to the right direction.

With Info from [Upgrade from InfluxDB 1.x to 2.6 with Docker | InfluxDB OSS 2.6 Documentation](https://docs.influxdata.com/influxdb/v2.6/upgrade/v1-to-v2/docker/) i could upgrade my data from 1.x to 2.x

```auto
docker run -p 8086:8086 \
  -v influxdb:/var/lib/influxdb \
  -v influxdb2:/var/lib/influxdb2 \
  -e DOCKER_INFLUXDB_INIT_MODE=upgrade \
  -e DOCKER_INFLUXDB_INIT_USERNAME=my-user \
  -e DOCKER_INFLUXDB_INIT_PASSWORD=my-password \
  -e DOCKER_INFLUXDB_INIT_ORG=my-org \
  -e DOCKER_INFLUXDB_INIT_BUCKET=my-bucket \
  influxdb:2.6

```

---

_[View the full topic](https://community.influxdata.com/t/problem-backup-1-8-restore-2-6/28943)._
