Copied database, can I reuse it?

Hello

I’m a newbie, mostly use influxdb for HomeAssistant, and I copied out this folder thinking it was a good way to backup:
" \var\lib\influxdb\ " (data, meta, wal folder inside)

Of course my database is corrupted and I can’t make a proper backup.

Please explain me like i’m five, how can I use this 1,2gb folder to reuse my 2 years old backup? I tried to copy, but grafana went crazy. (maybe I didnt stop influxdb before copy…?)

It seems the Copy method worked,!

1 Like