Influx DB 2.0 and Influx DB 1.7 on the same machine

Hi,
I am using Influx DB 1.7 running in Ubuntu 16.04.
Can I install Influx DB 2.0 in the same machine without disturbing the existing InfluxDB 1.7 , that means can InfluxDB 1.7 and Influx DB 2.0 run on the same machine.

Hello @Neelanjan,
Welcome :slight_smile: Yes you absolutely can. Enjoy!

Thanks for the help.

I have backup up metadir and databases individually, but at the time of restoration, metadir got restored properly, showing,
**mqqt@mqqt-pc:~$ sudo influxd restore -metadir /var/lib/influxdb/meta /tmp/backup **
Using metastore snapshot: /tmp/backup/meta.03
But when restoring database, showing error,

mqqt@mqqt-pc:~ sudo influxd restore -database MSFDB -datadir /var/lib/influxdb/data /tmp/backup ** **restore: -metadir or -destinationDatabase are required to restore** **mqqt@mqqt-pc:~ influxd restore -database MSFDB -datadir /var/lib/influxdb/data /tmp/backup
restore: -metadir or -destinationDatabase are required to restore

But MSFDB was successfully backed up, as below,

mqqt@mqqt-pc:~$ sudo influxd backup -database MSFDB /tmp/backup
2020/05/12 00:31:01 backing up metastore to /tmp/backup/meta.02
2020/05/12 00:31:01 backing up db=MSFDB
2020/05/12 00:31:01 backing up db=MSFDB rp=autogen shard=63 to /tmp/backup/MSFDB.autogen.00063.00 since 0001-01-01T00:00:00Z
2020/05/12 00:31:01 backing up db=MSFDB rp=autogen shard=73 to /tmp/backup/MSFDB.autogen.00073.00 since 0001-01-01T00:00:00Z
2020/05/12 00:31:01 backing up db=MSFDB rp=autogen shard=84 to /tmp/backup/MSFDB.autogen.00084.00 since 0001-01-01T00:00:00Z
2020/05/12 00:31:02 backup complete:
2020/05/12 00:31:02 /tmp/backup/tmp/backup/meta.02
2020/05/12 00:31:02 /tmp/backup/tmp/backup/MSFDB.autogen.00063.00
2020/05/12 00:31:02 /tmp/backup/tmp/backup/MSFDB.autogen.00073.00
2020/05/12 00:31:02 /tmp/backup/tmp/backup/MSFDB.autogen.00084.00

Please help. Thanks.