My ESP8266 devices are generating huge amount of logs so after some time LogAnalyzer database had over 5M records.
I've decided to delete old data, but before run purge script I want to backup these records.
The solution was quite simple:
where Syslog is database, and SystemEvents is table.
You can also export to CSV (TSV) format if You prefer:
After this I could delete whole year, instead of using script:
Now I've only about 600k records ;-)
Add comment