Moving to a new server

Hi everybody,
I have installed Grafana to display data from an Influx-database (v2.7). The data is collected from several different sensors (temperature, PV-inverters, power meters etc.) using iobroker. The total installation is done on a Raspberry Pi4 with only 1GB of RAM. Due to performance issues I would like to move onto a Pi5 with 8 GB RAM. The whole installation of iobroker, Influxdb and Grafana I did using a very detailed Youtube-video just by following the steps inside the video.
That means I am far away from being an expert and to be honest I have no idea how to move to a new server (which files do I have to copy, what about he tokens used by Influxdb, the dashboard I have in Grafana etc etc.). Can anybody give me a detailed guideline what to do or maybe a link to a video or an existing guideline in the internet. I have searched a lot for that but have not been able to find a fitting one.

Thanks a lot!

You can follow the same video so as to install everything on a new server. Than you can export dashboards / data from old one and import them to a new one.

Grafana part you can check here:

InfluxDB part you can check here:

@thomasherbst For your setup of InfluxDB on your new machine, I went through it a while back and posted an important lesson here: