I want to upgrade my Grafana from V.8.5.1 to 9.1.1.
I want to do this with the binary tar file because the server does not have access to the internet. In the Grafana documentation it says:
If you downloaded the binary
.tar.gz package, then you can just download and extract the new package and overwrite all your existing files.
But when i do this, all my dashboards and settings are gone.
Does anybody maybe know what I am missing?
A good place to start would be to check the release notes of the version you want to upgrade. Relevant info such as tool changes that might apply is published there.
In addition, and in order to prevent data loss, you may want to back up your data before proceeding with the upgrade.
Last, as stated in the same link above,
We recommend that you save your custom configuration changes in a file named <grafana_install_dir>/conf/custom.ini
. This allows you to upgrade Grafana without risking losing your configuration changes.
If you still experienced data loss, please provide an example of a dashboard, or setting that disappears after the upgrade.