MYSQL FOR MAC UNINSTALL UPDATE
You can update all plugins using grafana-cli plugins update-all Update pluginsĪfter you have upgraded, we strongly recommend that you update all your plugins as a new version of GrafanaĬan make older plugins stop working properly. We recommend that you save your configuration changes in a file named /conf/custom.ini as this will make upgrades easier without risking losing your configuration changes. This might overwrite your configuration changes. If you downloaded the Windows binary package you can just download a newer package and extract to the same location (and overwrite the existing files). docker pull grafana/grafanaĭocker run -d -name=my-grafana-container -restart=always -v /var/lib/grafana:/var/lib/grafana grafana/grafana
This just an example, details depend on how you configured your grafana container. If you used our YUM repository: sudo yum update grafana
MYSQL FOR MAC UNINSTALL UPGRADE
It will upgrade your Grafana installation.
MYSQL FOR MAC UNINSTALL INSTALL
If you installed Grafana by downloading an RPM package you can just follow the same installation guide and execute the same yum install or rpm -i command but with the new package.
This allows you to upgrade Grafana without risking losing your configuration changes. We recommend that you save your custom configuration changes in a file named /conf/custom.ini. However, this might overwrite your config changes. tar.gz package, then you can just download and extract the new package and overwrite all your existing files. If you installed Grafana from our APT repository, then Grafana will automatically update when you run apt-get upgrade to upgrade all system packages. > mysql -u root -p grafana pg_dump grafana > grafana_backup > mysqldump -u root -p > grafana_backup.sql Installed grafana to custom location using a binary tar/zip it is usually in /data. If you are unsure what database you use and where it is stored check you grafana configuration file. This is usually located at /var/lib/grafana/grafana.db on Unix systems. If you use sqlite you only need to make a backup of your grafana.db file. Sometimes this can cause issues if you later want to downgrade. During startup, Grafana will automatically migrate the database schema (if there are changes or new tables). This will ensure that you can always rollback to your previous version. However, you might want to in case you add new configuration options after upgrade and then rollback.īefore upgrading it can be a good idea to backup your Grafana database. Configuration files do not need to be backed up.Installed plugins - Back them up before you upgrade them in case you want to rollback the Grafana version and want to get the exact same versions you were running before the upgrade.We recommend that you backup a few things in case you have to rollback the upgrade. There may be minor breaking changes in some edge cases, which are outlined in the Release Notes and Changelog Backup Upgrading is generally safe (between many minor and one major version) and dashboards and graphs will look the same. In order to make this a reality, Grafana upgrades are backward compatible and the upgrade process is simple and quick.
We recommend that you upgrade Grafana often to stay up to date with the latest fixes and enhancements.