I’ve set up Influxdb 2.0 with a synology docker installation. I can send data to it, I can export the data to grafana, everything seems to be working fine.
However, some time today my influxdb completely erased itself. I went to its address, and had to set up the entire database from scratch. All my data and other settings (org name, tokens, buckets, etc.) were gone. The docker logs don’t show anything. I didn’t do anything to my Synology system or influxdb. Note the only issue was that my data and settings are gone. The docker container still works.
Can anyone think of why this happened?
Alternatively, can anyone suggest a way to backup my data? I’ve looked into the official docs, but I can’t get it to work. Say I want to back up to the shared folder
/volume1/aaa. If I do
cd /volume1/aaa I can go to the right directory, and when I use set
/volume1/aaa in my arguments for the backup command I get “backup complete” with no errors, but when I
ls that directory nothing is there. I can set my directory to a non-existing
/volume1/bbb and it will still say “backup complete” with no errors.
Where are my influxdb data stored on my synology drive? I’ve gone to all directories associated with my influxdb container that I can think of/find, but they either don’t exist or are empty.