How to backup and restore database from one influx server to another?

  1. I use following command to backup single database (influxdb version 1.4.3)

influxd backup -database nbiot -host localhost:8088 /tmp/nbiot

  1. restore database nbiot in another influxdb version 1.4.2

influxd restore -database nbiot -datadir /var/lib/influxdb/data /tmp/influxdb/nbiot/

but after restore, I can just show measurements,
when select * from nb_device, it returns no data.

use nbiot
Using database nbiot
show measurements

name: measurements
name

nb_device
nb_test
tempWithHum
test
user

select * from nb_device