-
What Grafana version and what operating system are you using?
9.2.6 = > 9.3.1 -
What are you trying to achieve?
Updating without losing config files. My config file is C:\Program Files\GrafanaLabs\grafana\conf\defaults.ini -
How are you trying to achieve it?
Executing the windows installer found here: Download Grafana | Grafana Labs -
What happened?
Config files in C:\Program Files\GrafanaLabs\grafana\conf got overwritten. -
What did you expect to happen?
Config file to be preserved. -
Did you follow any online instructions? If so, what is the URL?
Documentation explicitly states config files do not need to be backed up.
Upgrade Grafana | Grafana documentation
“Configuration files do not need to be backed up. However, you might want to in case you add new configuration options after upgrade and then rollback.”
What config file should I use so that it doesn’t get overwritten? Seems weird to edit “defaults.ini”, isn’t there some custom.ini or something? How do I tell grafana to us this file instead? I know it can be given as a command line parameter in the service, but the service points to nssm.exe which is a problem to begin with imo.