I backed up a single DB in one of our instances and i tried to restore that single DB in another instance that has influx as well using the steps below
$ influxd restore -metadir /var/lib/influxdb/data/ /tmp/ide
$ influxd restore -database ide -datadir=/var/lib/influxdb/data/ /tmp/ide
$ $ sudo chown -R influxdb:influxdb /var/lib/influxdb/data/ide
$service influxdb start
Now the issue is that ide is restored in the DB but have no measurements in it
also i think the metadata got corrupted and its data being saved in not a correct or not saved at all actully
so is there a way for meta to recreate and fix it self or no way, how can i fix this issue?