# Different behaviour between influx2.0 beta and 2.0 \[backup / restore / OSS\]

**URL:** <https://community.influxdata.com/t/different-behaviour-between-influx2-0-beta-and-2-0-backup-restore-oss/17453>\
**Category:** InfluxDB 2\
**Tags:** influxdb, backup\
**Created:** [January 4, 2021, 6:05am UTC](https://community.influxdata.com/t/different-behaviour-between-influx2-0-beta-and-2-0-backup-restore-oss/17453 "2021-01-04T06:05:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jknthn](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/jknthn/32/6342_2.png) [@jknthn](https://community.influxdata.com/u/jknthn)\
**Post date:** [January 4, 2021, 6:05am UTC](https://community.influxdata.com/t/different-behaviour-between-influx2-0-beta-and-2-0-backup-restore-oss/17453/1 "2021-01-04T06:05:10Z")

</div>

I have some problems switching from beta to production release of influxdb and I can’t manage to figure our the solution or any reason why it might not work. Everything works flawlessly until I try to make a backup and then restore it.

In 2.0 beta (16 I think) it worked that way:  
`influx backup --token $influx_token ./backup`  
and then:  
`influxd restore --backup-path ./backup`  
It used to recover whole DB including users, tokens and obviously the data.

Starting from rc version `influxd restore` was moved (or replaced I don’t know the details) to `influx restore` and now I am not able to restore any backup. And I mean backups already created by the new version of `influx backup`. Usually there is some Internal Error without any description. Besides documentation confuses new `influxd restore` with `influx restore`, mentions to stop `influxd` server (but with stopped server `influx restore` can’t find api on `http://localhost:8086`) and it’s not very consistent.

Anyway I am puzzled by those changes, simple backups (without data) are working but I fail to observe any consistent behaviour. I also failed to find any guide / docs / tutorial that might help me out that’s why I am writing here. Plus there started to throw `ulimit` errors which were absent on beta16 no matter how much data I tried to dump. I tried to make everything work inside AWS on Amazon Linux 2 machines with AMI: `"ami-09b89ad3c5769cca2"`.

For now I am going to stick to the beta16 version for some more time, but would love to switch to production one. Thanks 🙂

---

<div class="post-metadata">

**Author:** ![yc\_c](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/yc_c/32/8760_2.png) [@yc\_c](https://community.influxdata.com/u/yc_c)\
**Post date:** [November 18, 2021, 12:38am UTC](https://community.influxdata.com/t/different-behaviour-between-influx2-0-beta-and-2-0-backup-restore-oss/17453/2 "2021-11-18T00:38:10Z")

</div>

do you know how to backup data and restore it in  
another influxdb instance of 2.0? I read the official documentation, backupped the data at first  
and use “setup -t 'instance roottoken '” in another influxdb instance before restore it, but the cli returns an error:  
Error: instance at “[http://localhost](http://localhost/):8086” has already been setup

Please
