I am using Influxdb v1.7.8 running in a docker-compose environment. Everything works fine, I have successfully inserted several million points using the HTTP api and visualized them in Grafana.
But while trying to implement a backup routine I need some help. I execute the backup as follows:
docker-compose exec -T influxdb influxd backup -portable /var/lib/influxdb/backup
The command is executed successfully, 18 files get created. But all of them are nearly empty (1KB), the data is definately not contained in these files.
Additional information:
The tar.gz files are all broken as it seems:
root@a89c12d810a1:/var/lib/influxdb/backup# tar xzf 20191008T152834Z.s11.tar.gz
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
Everything works as expected when I use a docker volume instead by replacing the “docker run…” command above with:
docker run --name=influxdb -d -p 8086:8086 -v influx_data:/var/lib/influxdb influxdb
Can you reproduce this issue? Do you have an idea what is happening here? May be Windows related, I am running Docker Desktop 2.1.0.5 on Windows 10 Professional.