I have a question why my backup folder take 6GB of memory but the ~/.influxdbv2/ is 56 KB ? it’s normal ?
And please how could make the automatic backup erase the old back files in the path mentionned in the CLI command ? to have only the last backup files .
Hi @th_sFb, are you sure your DB is storing its data under
~/.influxdbv2/? If you’re running via systemd or our DockerHub image the data will be stored elsewhere (’/var/lib/influxdb
or/var/lib/influxdb2`), which could explain the size differences.
The CLI doesn’t support erasing existing backup files from the target directory (this is by design, to support backing up multiple buckets across multiple calls).