If you are creating a new Raspberry Pi feeder using the current adsbexchange image, how would go about moving the historical data from an old system to the new? In the old system, it appears the data is being stored in the files under /var/lib/prometheus, but that doesn’t appear to be the case in the new system.
prometheus / grafana is gone. only graphs1090 using collectd / rrdtool is available now. https://github.com/wiedehopf/graphs1090#graphs1090 No way to retain prometheus data which always was limited to 2 week i believe.
That is too bad. Actually, I can see two years of data in graphical form and it clearly shows when changes in antenna, location, feedline, etc result in a change in performance over time. If it was only two weeks worth, it would not have been worth transferring.
prometheus / grafana did several incompatible updates which caused issues over and over. Before removing it, the image was already changed to minimal writes in order to avoid breakage. So you must have an image from before the 2 week limitation on prometheus / grafana was added. You can always roll your own prometheus / grafana, but it's quite a bit of configuration but i'm not familiar enough with it. And yeah it's just too much work to support. graphs1090 lists in the github readme how to backup / transfer data. I'm maintaining graphs1090 and have always tried to give that option. With the current setup it retains 18 years of data with only 10 years being displayed But the most people have is usually 3 years, so i have plenty of time to add a display for the full 18 years.
I'm only thinking out loud here as I've not tried this and guess it'd only be convenient on a Linux system but the original image could be backed up using something like dd. These files can be mounted on a linux system and become part of the file system. The old data files would all therefore be available on a machine other than the original. Not sure if running grafana would show them or not, worth a try I guess if the old data is of interest. Geoff