I don't want to rewrites metastore while restoring a backup

Hi!

I’m using influxdb 1.4.3.
This is my scenario:
In host_A (docker container) I have 1 databases and I want to backup it!
In host_B (another docker container) I have other databases.

If I backup database from host_A and restore it in host_B, I rewrite metastore db and, after restart daemon, I can no longer see the preexisting databases.

My tasks from host_B:

influxd backup -database my_database -host host_A:8088 /tmp/folder
influxd restore -metadir /var/lib/influxdb/meta/ /tmp/folder
influxd restore -database my_database -datadir /var/lib/influxdb/data/ /tmp/folder

How can i solve?
Thanks so much!

This issue is described here: Should be able to backup/restore single database · Issue #7758 · influxdata/influxdb · GitHub

It looks like this issue is resolved in influxdb 1.5, and the issue is closed now. Hopefully, you can upgrade to 1.5 and this will be solved.

If you can’t switch to 1.5, let us know and we’ll do our best to offer you some other suggestions.