Delete Historic Data and Clear SD Card

I would really appreciate some guidance as I am a little confused with the posts on the site.

I have been monitoring my PV system for a year and have filled up the storage on my EmonPi.

How do I clear all the stored data on the SD card?

Thanks for your help.

Clear the EmonPi backup files and disable it first. You have to removes the traces and the auto built packages to completely make use of the SD card as a new one. Memory card data recovery can guide more on this matter and whether you need to secure certain files from getting deleted accidentally.

A function has recently been written by @emrys which allows users to set a criteria, and delete feed data older than that criteria which should help you. However I’m not sure if it’s been rolled out yet, but if not, I suspect that it will be very shortly…