Database migration to another server

Dears,

I used InfluxDB 1.8 (for Grafana) with Home Assistant in docker.
Now i install HassIO in Virtual Machine and i want to migrate database.

I tried it but not successfull…

after command:

influxd backup -database home_assistant -portable /share/backup/influxdb/

i see progress of creating backup but when i listing all files (comand ls) - i don’t see any file…

What im doing wrong?

Thanks in advance.

Hello @Herus,
Welcome!
Have you tried using/adding the -portable and -db flags instead?
https://docs.influxdata.com/influxdb/v1.8/tools/influxd/backup/
https://docs.influxdata.com/influxdb/v1.8/administration/backup_and_restore/#arguments