<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Upgrade to Grafana v11 on Grafana Labs</title><link>https://grafana.com/docs/grafana/v13.2/upgrade-guide/upgrade-v11/</link><description>Recent content in Upgrade to Grafana v11 on Grafana Labs</description><generator>Hugo -- gohugo.io</generator><language>en</language><atom:link href="/docs/grafana/v13.2/upgrade-guide/upgrade-v11/index.xml" rel="self" type="application/rss+xml"/><item><title>Upgrade to Grafana v11.6</title><link>https://grafana.com/docs/grafana/v13.2/upgrade-guide/upgrade-v11/upgrade-v11.6/</link><pubDate>Thu, 22 Oct 2026 17:15:37 +0000</pubDate><guid>https://grafana.com/docs/grafana/v13.2/upgrade-guide/upgrade-v11/upgrade-v11.6/</guid><content><![CDATA[&lt;h1 id=&#34;upgrade-to-grafana-v116&#34;&gt;Upgrade to Grafana v11.6&lt;/h1&gt;


&lt;div data-shared=&#34;upgrade/intro.md&#34;&gt;
            &lt;p&gt;We recommend that you upgrade Grafana often to stay current with the latest fixes and enhancements.
Because Grafana upgrades are backward compatible, the upgrade process is straightforward, and dashboards and graphs will not change.&lt;/p&gt;
&lt;p&gt;In addition to common tasks you should complete for all versions of Grafana, there might be additional upgrade tasks to complete for a version.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;There might be breaking changes in some releases. We outline these changes in the 
    &lt;a href=&#34;/docs/grafana/v13.2/whatsnew/&#34;&gt;What&amp;rsquo;s New &lt;/a&gt; document for each release.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;p&gt;For versions of Grafana prior to v9.2, we published additional information in the 
    &lt;a href=&#34;/docs/grafana/v13.2/release-notes/&#34;&gt;Release Notes&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;When available, we list all changes with links to pull requests or issues in the &lt;a href=&#34;https://github.com/grafana/grafana/blob/main/CHANGELOG.md&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Changelog&lt;/a&gt;.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;When possible, we recommend that you test the Grafana upgrade process in a test or development environment.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;/div&gt;

        


&lt;div data-shared=&#34;back-up/back-up-grafana.md&#34;&gt;
            

&lt;h2 id=&#34;back-up-grafana&#34;&gt;Back up Grafana&lt;/h2&gt;
&lt;p&gt;This topic explains how to back up a local Grafana deployment, including configuration, plugin data, and the Grafana database.&lt;/p&gt;
&lt;h3 id=&#34;back-up-the-grafana-configuration-file&#34;&gt;Back up the Grafana configuration file&lt;/h3&gt;
&lt;p&gt;Copy Grafana configuration files that you might have modified in your Grafana deployment to a backup directory.&lt;/p&gt;
&lt;p&gt;The Grafana configuration files are located in the following directories:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Default configuration: &lt;code&gt;$WORKING_DIR/defaults.ini&lt;/code&gt; (Don&amp;rsquo;t change this file)&lt;/li&gt;
&lt;li&gt;Custom configuration: &lt;code&gt;$WORKING_DIR/custom.ini&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For more information on where to find configuration files, refer to 
    &lt;a href=&#34;/docs/grafana/v13.2/setup-grafana/configure-grafana/#configuration-file-location&#34;&gt;Configuration file location&lt;/a&gt;.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;If you installed Grafana using the &lt;code&gt;deb&lt;/code&gt; or &lt;code&gt;rpm&lt;/code&gt; packages, then your configuration file is located at
&lt;code&gt;/etc/grafana/grafana.ini&lt;/code&gt;. This path is specified in the Grafana &lt;code&gt;init.d&lt;/code&gt; script using &lt;code&gt;--config&lt;/code&gt; file parameter.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;h3 id=&#34;back-up-plugin-data&#34;&gt;Back up plugin data&lt;/h3&gt;
&lt;p&gt;Installing plugins in Grafana creates a folder for each plugin with its associated files and data. Copy all files and folders recursively from this location to your backup repository.&lt;/p&gt;
&lt;p&gt;The Grafana plugin files are located in the following directories:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Default location for plugins in a binary or source installation: &lt;code&gt;$WORKING_DIR/data/plugins&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Default location for plugins in a &lt;code&gt;deb&lt;/code&gt; or &lt;code&gt;rpm&lt;/code&gt; package: &lt;code&gt;/var/lib/grafana/plugins&lt;/code&gt;. This path is specified in the Grafana init.d script using &lt;code&gt;--config&lt;/code&gt; file parameter.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;back-up-the-grafana-database&#34;&gt;Back up the Grafana database&lt;/h3&gt;
&lt;p&gt;We recommend that you back up your Grafana database so that you can roll back to a previous version, if required.&lt;/p&gt;
&lt;h4 id=&#34;sqlite&#34;&gt;SQLite&lt;/h4&gt;
&lt;p&gt;The default Grafana database is SQLite, which stores its data in a single file on disk. To back up this file, copy it to your backup repository.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;To ensure data integrity, shut down your Grafana service before backing up the SQLite database.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;p&gt;The SQLite database file is located in one of the following directories:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Default location for SQLite data in a binary or source installation: &lt;code&gt;$WORKING_DIR/data/grafana.db&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Default location for SQLite data in a &lt;code&gt;deb&lt;/code&gt; or &lt;code&gt;rpm&lt;/code&gt; package: &lt;code&gt;/var/lib/grafana/grafana.db&lt;/code&gt;. This path is specified in the Grafana
init.d script using &lt;code&gt;--config&lt;/code&gt; file parameter.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;mysql&#34;&gt;MySQL&lt;/h4&gt;
&lt;p&gt;To back up or restore a MySQL Grafana database, run the following commands:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;backup:
&amp;gt; mysqldump -u root -p[root_password] [grafana] &amp;gt; grafana_backup.sql

restore:
&amp;gt; mysql -u root -p grafana &amp;lt; grafana_backup.sql&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&#34;postgres&#34;&gt;Postgres&lt;/h4&gt;
&lt;p&gt;To back up or restore a Postgres Grafana database, run the following commands:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;backup:
&amp;gt; pg_dump grafana &amp;gt; grafana_backup

restore:
&amp;gt; psql grafana &amp;lt; grafana_backup&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;

  &lt;/div&gt;

        


&lt;div data-shared=&#34;upgrade/upgrade-common-tasks.md&#34;&gt;
            &lt;h2 id=&#34;upgrade-grafana&#34;&gt;Upgrade Grafana&lt;/h2&gt;
&lt;p&gt;The following sections provide instructions for how to upgrade Grafana based on your installation method. For more information on where to find configuration files, refer to 
    &lt;a href=&#34;/docs/grafana/v13.2/setup-grafana/configure-grafana/#configuration-file-location&#34;&gt;Configuration file location&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;debian&#34;&gt;Debian&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed from a Debian package (&lt;code&gt;.deb&lt;/code&gt;), complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to a file named &lt;code&gt;&amp;lt;grafana_install_dir&amp;gt;/grafana.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;/grafana/download?platform=linux&#34;&gt;Download&lt;/a&gt; the latest version of Grafana.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run the following &lt;code&gt;dpkg -i&lt;/code&gt; command.&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;wget &amp;lt;debian package url&amp;gt;
sudo apt-get install -y adduser
sudo dpkg -i grafana_&amp;lt;version&amp;gt;_amd64.deb&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;apt-repository&#34;&gt;APT repository&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed from the Grafana Labs APT repository, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to a file named &lt;code&gt;&amp;lt;grafana_install_dir&amp;gt;/grafana.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run the following commands:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo apt-get update
sudo apt-get upgrade&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Grafana automatically updates when you run &lt;code&gt;apt-get upgrade&lt;/code&gt;.&lt;/p&gt;
&lt;h3 id=&#34;binary-tar-file&#34;&gt;Binary .tar file&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed from the binary &lt;code&gt;.tar.gz&lt;/code&gt; package, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to the custom configuration file, &lt;code&gt;custom.ini&lt;/code&gt; or &lt;code&gt;grafana.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;/grafana/download&#34;&gt;Download&lt;/a&gt; the binary &lt;code&gt;.tar.gz&lt;/code&gt; package.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Extract the downloaded package and overwrite the existing files.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;rpm-or-yum&#34;&gt;RPM or YUM&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed using RPM or YUM complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to a file named &lt;code&gt;&amp;lt;grafana_install_dir&amp;gt;/grafana.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Perform one of the following steps based on your installation.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;If you &lt;a href=&#34;/grafana/download&#34;&gt;downloaded an RPM package&lt;/a&gt; to install Grafana, then complete the steps documented in 
    &lt;a href=&#34;/docs/grafana/v13.2/setup-grafana/installation/redhat-rhel-fedora/&#34;&gt;Install Grafana on Red Hat, RHEL, or Fedora&lt;/a&gt; or 
    &lt;a href=&#34;/docs/grafana/v13.2//setup-grafana/installation/suse-opensuse/&#34;&gt;Install Grafana on SUSE or openSUSE&lt;/a&gt; to upgrade Grafana.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you used the Grafana YUM repository, run the following command:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo yum update grafana&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you installed Grafana on openSUSE or SUSE, run the following command:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo zypper update&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;docker&#34;&gt;Docker&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana running in a Docker container, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Use Grafana 
    &lt;a href=&#34;/docs/grafana/v13.2/setup-grafana/configure-grafana/#override-configuration-with-environment-variables&#34;&gt;environment variables&lt;/a&gt; to save your custom configurations; this is the recommended method. Alternatively, you can view your configuration files manually by accessing the deployed container.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run a commands similar to the following commands.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;This is an example. The parameters you enter depend on how you configured your Grafana container.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;


&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;docker pull grafana/grafana
docker stop my-grafana-container
docker rm my-grafana-container
docker run -d --name=my-grafana-container --restart=always -v /var/lib/grafana:/var/lib/grafana grafana/grafana&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;windows&#34;&gt;Windows&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed on Windows, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to a file named &lt;code&gt;&amp;lt;grafana_install_dir&amp;gt;/conf/custom.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;/grafana/download&#34;&gt;Download&lt;/a&gt; the Windows binary package.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Extract the contents of the package to the location in which you installed Grafana.&lt;/p&gt;
&lt;p&gt;You can overwrite existing files and folders, when prompted.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;mac&#34;&gt;Mac&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed on Mac, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to the custom configuration file, &lt;code&gt;custom.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;/grafana/download&#34;&gt;Download&lt;/a&gt; the Mac binary package.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Extract the contents of the package to the location in which you installed Grafana.&lt;/p&gt;
&lt;p&gt;You can overwrite existing files and folders, when prompted.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;update-grafana-plugins&#34;&gt;Update Grafana plugins&lt;/h2&gt;
&lt;p&gt;After you upgrade Grafana, we recommend that you update all plugins because a new version of Grafana
can make older plugins stop working properly.&lt;/p&gt;
&lt;p&gt;Run the following command to update plugins:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;grafana cli plugins update-all&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;

        
&lt;h2 id=&#34;technical-notes&#34;&gt;Technical notes&lt;/h2&gt;
]]></content><description>&lt;h1 id="upgrade-to-grafana-v116">Upgrade to Grafana v11.6&lt;/h1>
&lt;div data-shared="upgrade/intro.md">
&lt;p>We recommend that you upgrade Grafana often to stay current with the latest fixes and enhancements.
Because Grafana upgrades are backward compatible, the upgrade process is straightforward, and dashboards and graphs will not change.&lt;/p></description></item><item><title>Upgrade to Grafana v11.5</title><link>https://grafana.com/docs/grafana/v13.2/upgrade-guide/upgrade-v11/upgrade-v11.5/</link><pubDate>Thu, 22 Oct 2026 17:15:37 +0000</pubDate><guid>https://grafana.com/docs/grafana/v13.2/upgrade-guide/upgrade-v11/upgrade-v11.5/</guid><content><![CDATA[&lt;h1 id=&#34;upgrade-to-grafana-v115&#34;&gt;Upgrade to Grafana v11.5&lt;/h1&gt;


&lt;div data-shared=&#34;upgrade/intro.md&#34;&gt;
            &lt;p&gt;We recommend that you upgrade Grafana often to stay current with the latest fixes and enhancements.
Because Grafana upgrades are backward compatible, the upgrade process is straightforward, and dashboards and graphs will not change.&lt;/p&gt;
&lt;p&gt;In addition to common tasks you should complete for all versions of Grafana, there might be additional upgrade tasks to complete for a version.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;There might be breaking changes in some releases. We outline these changes in the 
    &lt;a href=&#34;/docs/grafana/v13.2/whatsnew/&#34;&gt;What&amp;rsquo;s New &lt;/a&gt; document for each release.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;p&gt;For versions of Grafana prior to v9.2, we published additional information in the 
    &lt;a href=&#34;/docs/grafana/v13.2/release-notes/&#34;&gt;Release Notes&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;When available, we list all changes with links to pull requests or issues in the &lt;a href=&#34;https://github.com/grafana/grafana/blob/main/CHANGELOG.md&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Changelog&lt;/a&gt;.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;When possible, we recommend that you test the Grafana upgrade process in a test or development environment.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;/div&gt;

        


&lt;div data-shared=&#34;back-up/back-up-grafana.md&#34;&gt;
            

&lt;h2 id=&#34;back-up-grafana&#34;&gt;Back up Grafana&lt;/h2&gt;
&lt;p&gt;This topic explains how to back up a local Grafana deployment, including configuration, plugin data, and the Grafana database.&lt;/p&gt;
&lt;h3 id=&#34;back-up-the-grafana-configuration-file&#34;&gt;Back up the Grafana configuration file&lt;/h3&gt;
&lt;p&gt;Copy Grafana configuration files that you might have modified in your Grafana deployment to a backup directory.&lt;/p&gt;
&lt;p&gt;The Grafana configuration files are located in the following directories:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Default configuration: &lt;code&gt;$WORKING_DIR/defaults.ini&lt;/code&gt; (Don&amp;rsquo;t change this file)&lt;/li&gt;
&lt;li&gt;Custom configuration: &lt;code&gt;$WORKING_DIR/custom.ini&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For more information on where to find configuration files, refer to 
    &lt;a href=&#34;/docs/grafana/v13.2/setup-grafana/configure-grafana/#configuration-file-location&#34;&gt;Configuration file location&lt;/a&gt;.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;If you installed Grafana using the &lt;code&gt;deb&lt;/code&gt; or &lt;code&gt;rpm&lt;/code&gt; packages, then your configuration file is located at
&lt;code&gt;/etc/grafana/grafana.ini&lt;/code&gt;. This path is specified in the Grafana &lt;code&gt;init.d&lt;/code&gt; script using &lt;code&gt;--config&lt;/code&gt; file parameter.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;h3 id=&#34;back-up-plugin-data&#34;&gt;Back up plugin data&lt;/h3&gt;
&lt;p&gt;Installing plugins in Grafana creates a folder for each plugin with its associated files and data. Copy all files and folders recursively from this location to your backup repository.&lt;/p&gt;
&lt;p&gt;The Grafana plugin files are located in the following directories:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Default location for plugins in a binary or source installation: &lt;code&gt;$WORKING_DIR/data/plugins&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Default location for plugins in a &lt;code&gt;deb&lt;/code&gt; or &lt;code&gt;rpm&lt;/code&gt; package: &lt;code&gt;/var/lib/grafana/plugins&lt;/code&gt;. This path is specified in the Grafana init.d script using &lt;code&gt;--config&lt;/code&gt; file parameter.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;back-up-the-grafana-database&#34;&gt;Back up the Grafana database&lt;/h3&gt;
&lt;p&gt;We recommend that you back up your Grafana database so that you can roll back to a previous version, if required.&lt;/p&gt;
&lt;h4 id=&#34;sqlite&#34;&gt;SQLite&lt;/h4&gt;
&lt;p&gt;The default Grafana database is SQLite, which stores its data in a single file on disk. To back up this file, copy it to your backup repository.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;To ensure data integrity, shut down your Grafana service before backing up the SQLite database.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;p&gt;The SQLite database file is located in one of the following directories:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Default location for SQLite data in a binary or source installation: &lt;code&gt;$WORKING_DIR/data/grafana.db&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Default location for SQLite data in a &lt;code&gt;deb&lt;/code&gt; or &lt;code&gt;rpm&lt;/code&gt; package: &lt;code&gt;/var/lib/grafana/grafana.db&lt;/code&gt;. This path is specified in the Grafana
init.d script using &lt;code&gt;--config&lt;/code&gt; file parameter.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;mysql&#34;&gt;MySQL&lt;/h4&gt;
&lt;p&gt;To back up or restore a MySQL Grafana database, run the following commands:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;backup:
&amp;gt; mysqldump -u root -p[root_password] [grafana] &amp;gt; grafana_backup.sql

restore:
&amp;gt; mysql -u root -p grafana &amp;lt; grafana_backup.sql&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&#34;postgres&#34;&gt;Postgres&lt;/h4&gt;
&lt;p&gt;To back up or restore a Postgres Grafana database, run the following commands:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;backup:
&amp;gt; pg_dump grafana &amp;gt; grafana_backup

restore:
&amp;gt; psql grafana &amp;lt; grafana_backup&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;

  &lt;/div&gt;

        


&lt;div data-shared=&#34;upgrade/upgrade-common-tasks.md&#34;&gt;
            &lt;h2 id=&#34;upgrade-grafana&#34;&gt;Upgrade Grafana&lt;/h2&gt;
&lt;p&gt;The following sections provide instructions for how to upgrade Grafana based on your installation method. For more information on where to find configuration files, refer to 
    &lt;a href=&#34;/docs/grafana/v13.2/setup-grafana/configure-grafana/#configuration-file-location&#34;&gt;Configuration file location&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;debian&#34;&gt;Debian&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed from a Debian package (&lt;code&gt;.deb&lt;/code&gt;), complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to a file named &lt;code&gt;&amp;lt;grafana_install_dir&amp;gt;/grafana.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;/grafana/download?platform=linux&#34;&gt;Download&lt;/a&gt; the latest version of Grafana.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run the following &lt;code&gt;dpkg -i&lt;/code&gt; command.&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;wget &amp;lt;debian package url&amp;gt;
sudo apt-get install -y adduser
sudo dpkg -i grafana_&amp;lt;version&amp;gt;_amd64.deb&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;apt-repository&#34;&gt;APT repository&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed from the Grafana Labs APT repository, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to a file named &lt;code&gt;&amp;lt;grafana_install_dir&amp;gt;/grafana.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run the following commands:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo apt-get update
sudo apt-get upgrade&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Grafana automatically updates when you run &lt;code&gt;apt-get upgrade&lt;/code&gt;.&lt;/p&gt;
&lt;h3 id=&#34;binary-tar-file&#34;&gt;Binary .tar file&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed from the binary &lt;code&gt;.tar.gz&lt;/code&gt; package, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to the custom configuration file, &lt;code&gt;custom.ini&lt;/code&gt; or &lt;code&gt;grafana.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;/grafana/download&#34;&gt;Download&lt;/a&gt; the binary &lt;code&gt;.tar.gz&lt;/code&gt; package.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Extract the downloaded package and overwrite the existing files.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;rpm-or-yum&#34;&gt;RPM or YUM&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed using RPM or YUM complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to a file named &lt;code&gt;&amp;lt;grafana_install_dir&amp;gt;/grafana.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Perform one of the following steps based on your installation.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;If you &lt;a href=&#34;/grafana/download&#34;&gt;downloaded an RPM package&lt;/a&gt; to install Grafana, then complete the steps documented in 
    &lt;a href=&#34;/docs/grafana/v13.2/setup-grafana/installation/redhat-rhel-fedora/&#34;&gt;Install Grafana on Red Hat, RHEL, or Fedora&lt;/a&gt; or 
    &lt;a href=&#34;/docs/grafana/v13.2//setup-grafana/installation/suse-opensuse/&#34;&gt;Install Grafana on SUSE or openSUSE&lt;/a&gt; to upgrade Grafana.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you used the Grafana YUM repository, run the following command:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo yum update grafana&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you installed Grafana on openSUSE or SUSE, run the following command:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo zypper update&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;docker&#34;&gt;Docker&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana running in a Docker container, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Use Grafana 
    &lt;a href=&#34;/docs/grafana/v13.2/setup-grafana/configure-grafana/#override-configuration-with-environment-variables&#34;&gt;environment variables&lt;/a&gt; to save your custom configurations; this is the recommended method. Alternatively, you can view your configuration files manually by accessing the deployed container.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run a commands similar to the following commands.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;This is an example. The parameters you enter depend on how you configured your Grafana container.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;


&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;docker pull grafana/grafana
docker stop my-grafana-container
docker rm my-grafana-container
docker run -d --name=my-grafana-container --restart=always -v /var/lib/grafana:/var/lib/grafana grafana/grafana&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;windows&#34;&gt;Windows&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed on Windows, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to a file named &lt;code&gt;&amp;lt;grafana_install_dir&amp;gt;/conf/custom.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;/grafana/download&#34;&gt;Download&lt;/a&gt; the Windows binary package.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Extract the contents of the package to the location in which you installed Grafana.&lt;/p&gt;
&lt;p&gt;You can overwrite existing files and folders, when prompted.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;mac&#34;&gt;Mac&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed on Mac, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to the custom configuration file, &lt;code&gt;custom.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;/grafana/download&#34;&gt;Download&lt;/a&gt; the Mac binary package.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Extract the contents of the package to the location in which you installed Grafana.&lt;/p&gt;
&lt;p&gt;You can overwrite existing files and folders, when prompted.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;update-grafana-plugins&#34;&gt;Update Grafana plugins&lt;/h2&gt;
&lt;p&gt;After you upgrade Grafana, we recommend that you update all plugins because a new version of Grafana
can make older plugins stop working properly.&lt;/p&gt;
&lt;p&gt;Run the following command to update plugins:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;grafana cli plugins update-all&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;

        
&lt;h2 id=&#34;technical-notes&#34;&gt;Technical notes&lt;/h2&gt;
]]></content><description>&lt;h1 id="upgrade-to-grafana-v115">Upgrade to Grafana v11.5&lt;/h1>
&lt;div data-shared="upgrade/intro.md">
&lt;p>We recommend that you upgrade Grafana often to stay current with the latest fixes and enhancements.
Because Grafana upgrades are backward compatible, the upgrade process is straightforward, and dashboards and graphs will not change.&lt;/p></description></item><item><title>Upgrade to Grafana v11.4</title><link>https://grafana.com/docs/grafana/v13.2/upgrade-guide/upgrade-v11/upgrade-v11.4/</link><pubDate>Thu, 22 Oct 2026 17:15:37 +0000</pubDate><guid>https://grafana.com/docs/grafana/v13.2/upgrade-guide/upgrade-v11/upgrade-v11.4/</guid><content><![CDATA[&lt;h1 id=&#34;upgrade-to-grafana-v114&#34;&gt;Upgrade to Grafana v11.4&lt;/h1&gt;


&lt;div data-shared=&#34;upgrade/intro.md&#34;&gt;
            &lt;p&gt;We recommend that you upgrade Grafana often to stay current with the latest fixes and enhancements.
Because Grafana upgrades are backward compatible, the upgrade process is straightforward, and dashboards and graphs will not change.&lt;/p&gt;
&lt;p&gt;In addition to common tasks you should complete for all versions of Grafana, there might be additional upgrade tasks to complete for a version.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;There might be breaking changes in some releases. We outline these changes in the 
    &lt;a href=&#34;/docs/grafana/v13.2/whatsnew/&#34;&gt;What&amp;rsquo;s New &lt;/a&gt; document for each release.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;p&gt;For versions of Grafana prior to v9.2, we published additional information in the 
    &lt;a href=&#34;/docs/grafana/v13.2/release-notes/&#34;&gt;Release Notes&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;When available, we list all changes with links to pull requests or issues in the &lt;a href=&#34;https://github.com/grafana/grafana/blob/main/CHANGELOG.md&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Changelog&lt;/a&gt;.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;When possible, we recommend that you test the Grafana upgrade process in a test or development environment.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;/div&gt;

        


&lt;div data-shared=&#34;back-up/back-up-grafana.md&#34;&gt;
            

&lt;h2 id=&#34;back-up-grafana&#34;&gt;Back up Grafana&lt;/h2&gt;
&lt;p&gt;This topic explains how to back up a local Grafana deployment, including configuration, plugin data, and the Grafana database.&lt;/p&gt;
&lt;h3 id=&#34;back-up-the-grafana-configuration-file&#34;&gt;Back up the Grafana configuration file&lt;/h3&gt;
&lt;p&gt;Copy Grafana configuration files that you might have modified in your Grafana deployment to a backup directory.&lt;/p&gt;
&lt;p&gt;The Grafana configuration files are located in the following directories:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Default configuration: &lt;code&gt;$WORKING_DIR/defaults.ini&lt;/code&gt; (Don&amp;rsquo;t change this file)&lt;/li&gt;
&lt;li&gt;Custom configuration: &lt;code&gt;$WORKING_DIR/custom.ini&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For more information on where to find configuration files, refer to 
    &lt;a href=&#34;/docs/grafana/v13.2/setup-grafana/configure-grafana/#configuration-file-location&#34;&gt;Configuration file location&lt;/a&gt;.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;If you installed Grafana using the &lt;code&gt;deb&lt;/code&gt; or &lt;code&gt;rpm&lt;/code&gt; packages, then your configuration file is located at
&lt;code&gt;/etc/grafana/grafana.ini&lt;/code&gt;. This path is specified in the Grafana &lt;code&gt;init.d&lt;/code&gt; script using &lt;code&gt;--config&lt;/code&gt; file parameter.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;h3 id=&#34;back-up-plugin-data&#34;&gt;Back up plugin data&lt;/h3&gt;
&lt;p&gt;Installing plugins in Grafana creates a folder for each plugin with its associated files and data. Copy all files and folders recursively from this location to your backup repository.&lt;/p&gt;
&lt;p&gt;The Grafana plugin files are located in the following directories:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Default location for plugins in a binary or source installation: &lt;code&gt;$WORKING_DIR/data/plugins&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Default location for plugins in a &lt;code&gt;deb&lt;/code&gt; or &lt;code&gt;rpm&lt;/code&gt; package: &lt;code&gt;/var/lib/grafana/plugins&lt;/code&gt;. This path is specified in the Grafana init.d script using &lt;code&gt;--config&lt;/code&gt; file parameter.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;back-up-the-grafana-database&#34;&gt;Back up the Grafana database&lt;/h3&gt;
&lt;p&gt;We recommend that you back up your Grafana database so that you can roll back to a previous version, if required.&lt;/p&gt;
&lt;h4 id=&#34;sqlite&#34;&gt;SQLite&lt;/h4&gt;
&lt;p&gt;The default Grafana database is SQLite, which stores its data in a single file on disk. To back up this file, copy it to your backup repository.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;To ensure data integrity, shut down your Grafana service before backing up the SQLite database.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;p&gt;The SQLite database file is located in one of the following directories:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Default location for SQLite data in a binary or source installation: &lt;code&gt;$WORKING_DIR/data/grafana.db&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Default location for SQLite data in a &lt;code&gt;deb&lt;/code&gt; or &lt;code&gt;rpm&lt;/code&gt; package: &lt;code&gt;/var/lib/grafana/grafana.db&lt;/code&gt;. This path is specified in the Grafana
init.d script using &lt;code&gt;--config&lt;/code&gt; file parameter.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;mysql&#34;&gt;MySQL&lt;/h4&gt;
&lt;p&gt;To back up or restore a MySQL Grafana database, run the following commands:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;backup:
&amp;gt; mysqldump -u root -p[root_password] [grafana] &amp;gt; grafana_backup.sql

restore:
&amp;gt; mysql -u root -p grafana &amp;lt; grafana_backup.sql&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&#34;postgres&#34;&gt;Postgres&lt;/h4&gt;
&lt;p&gt;To back up or restore a Postgres Grafana database, run the following commands:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;backup:
&amp;gt; pg_dump grafana &amp;gt; grafana_backup

restore:
&amp;gt; psql grafana &amp;lt; grafana_backup&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;

  &lt;/div&gt;

        


&lt;div data-shared=&#34;upgrade/upgrade-common-tasks.md&#34;&gt;
            &lt;h2 id=&#34;upgrade-grafana&#34;&gt;Upgrade Grafana&lt;/h2&gt;
&lt;p&gt;The following sections provide instructions for how to upgrade Grafana based on your installation method. For more information on where to find configuration files, refer to 
    &lt;a href=&#34;/docs/grafana/v13.2/setup-grafana/configure-grafana/#configuration-file-location&#34;&gt;Configuration file location&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;debian&#34;&gt;Debian&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed from a Debian package (&lt;code&gt;.deb&lt;/code&gt;), complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to a file named &lt;code&gt;&amp;lt;grafana_install_dir&amp;gt;/grafana.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;/grafana/download?platform=linux&#34;&gt;Download&lt;/a&gt; the latest version of Grafana.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run the following &lt;code&gt;dpkg -i&lt;/code&gt; command.&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;wget &amp;lt;debian package url&amp;gt;
sudo apt-get install -y adduser
sudo dpkg -i grafana_&amp;lt;version&amp;gt;_amd64.deb&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;apt-repository&#34;&gt;APT repository&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed from the Grafana Labs APT repository, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to a file named &lt;code&gt;&amp;lt;grafana_install_dir&amp;gt;/grafana.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run the following commands:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo apt-get update
sudo apt-get upgrade&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Grafana automatically updates when you run &lt;code&gt;apt-get upgrade&lt;/code&gt;.&lt;/p&gt;
&lt;h3 id=&#34;binary-tar-file&#34;&gt;Binary .tar file&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed from the binary &lt;code&gt;.tar.gz&lt;/code&gt; package, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to the custom configuration file, &lt;code&gt;custom.ini&lt;/code&gt; or &lt;code&gt;grafana.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;/grafana/download&#34;&gt;Download&lt;/a&gt; the binary &lt;code&gt;.tar.gz&lt;/code&gt; package.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Extract the downloaded package and overwrite the existing files.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;rpm-or-yum&#34;&gt;RPM or YUM&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed using RPM or YUM complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to a file named &lt;code&gt;&amp;lt;grafana_install_dir&amp;gt;/grafana.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Perform one of the following steps based on your installation.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;If you &lt;a href=&#34;/grafana/download&#34;&gt;downloaded an RPM package&lt;/a&gt; to install Grafana, then complete the steps documented in 
    &lt;a href=&#34;/docs/grafana/v13.2/setup-grafana/installation/redhat-rhel-fedora/&#34;&gt;Install Grafana on Red Hat, RHEL, or Fedora&lt;/a&gt; or 
    &lt;a href=&#34;/docs/grafana/v13.2//setup-grafana/installation/suse-opensuse/&#34;&gt;Install Grafana on SUSE or openSUSE&lt;/a&gt; to upgrade Grafana.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you used the Grafana YUM repository, run the following command:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo yum update grafana&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you installed Grafana on openSUSE or SUSE, run the following command:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo zypper update&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;docker&#34;&gt;Docker&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana running in a Docker container, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Use Grafana 
    &lt;a href=&#34;/docs/grafana/v13.2/setup-grafana/configure-grafana/#override-configuration-with-environment-variables&#34;&gt;environment variables&lt;/a&gt; to save your custom configurations; this is the recommended method. Alternatively, you can view your configuration files manually by accessing the deployed container.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run a commands similar to the following commands.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;This is an example. The parameters you enter depend on how you configured your Grafana container.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;


&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;docker pull grafana/grafana
docker stop my-grafana-container
docker rm my-grafana-container
docker run -d --name=my-grafana-container --restart=always -v /var/lib/grafana:/var/lib/grafana grafana/grafana&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;windows&#34;&gt;Windows&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed on Windows, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to a file named &lt;code&gt;&amp;lt;grafana_install_dir&amp;gt;/conf/custom.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;/grafana/download&#34;&gt;Download&lt;/a&gt; the Windows binary package.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Extract the contents of the package to the location in which you installed Grafana.&lt;/p&gt;
&lt;p&gt;You can overwrite existing files and folders, when prompted.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;mac&#34;&gt;Mac&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed on Mac, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to the custom configuration file, &lt;code&gt;custom.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;/grafana/download&#34;&gt;Download&lt;/a&gt; the Mac binary package.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Extract the contents of the package to the location in which you installed Grafana.&lt;/p&gt;
&lt;p&gt;You can overwrite existing files and folders, when prompted.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;update-grafana-plugins&#34;&gt;Update Grafana plugins&lt;/h2&gt;
&lt;p&gt;After you upgrade Grafana, we recommend that you update all plugins because a new version of Grafana
can make older plugins stop working properly.&lt;/p&gt;
&lt;p&gt;Run the following command to update plugins:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;grafana cli plugins update-all&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;

        
&lt;h2 id=&#34;technical-notes&#34;&gt;Technical notes&lt;/h2&gt;
]]></content><description>&lt;h1 id="upgrade-to-grafana-v114">Upgrade to Grafana v11.4&lt;/h1>
&lt;div data-shared="upgrade/intro.md">
&lt;p>We recommend that you upgrade Grafana often to stay current with the latest fixes and enhancements.
Because Grafana upgrades are backward compatible, the upgrade process is straightforward, and dashboards and graphs will not change.&lt;/p></description></item><item><title>Upgrade to Grafana v11.3</title><link>https://grafana.com/docs/grafana/v13.2/upgrade-guide/upgrade-v11/upgrade-v11.3/</link><pubDate>Thu, 22 Oct 2026 17:15:37 +0000</pubDate><guid>https://grafana.com/docs/grafana/v13.2/upgrade-guide/upgrade-v11/upgrade-v11.3/</guid><content><![CDATA[&lt;h1 id=&#34;upgrade-to-grafana-v113&#34;&gt;Upgrade to Grafana v11.3&lt;/h1&gt;


&lt;div data-shared=&#34;upgrade/intro.md&#34;&gt;
            &lt;p&gt;We recommend that you upgrade Grafana often to stay current with the latest fixes and enhancements.
Because Grafana upgrades are backward compatible, the upgrade process is straightforward, and dashboards and graphs will not change.&lt;/p&gt;
&lt;p&gt;In addition to common tasks you should complete for all versions of Grafana, there might be additional upgrade tasks to complete for a version.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;There might be breaking changes in some releases. We outline these changes in the 
    &lt;a href=&#34;/docs/grafana/v13.2/whatsnew/&#34;&gt;What&amp;rsquo;s New &lt;/a&gt; document for each release.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;p&gt;For versions of Grafana prior to v9.2, we published additional information in the 
    &lt;a href=&#34;/docs/grafana/v13.2/release-notes/&#34;&gt;Release Notes&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;When available, we list all changes with links to pull requests or issues in the &lt;a href=&#34;https://github.com/grafana/grafana/blob/main/CHANGELOG.md&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Changelog&lt;/a&gt;.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;When possible, we recommend that you test the Grafana upgrade process in a test or development environment.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;/div&gt;

        


&lt;div data-shared=&#34;back-up/back-up-grafana.md&#34;&gt;
            

&lt;h2 id=&#34;back-up-grafana&#34;&gt;Back up Grafana&lt;/h2&gt;
&lt;p&gt;This topic explains how to back up a local Grafana deployment, including configuration, plugin data, and the Grafana database.&lt;/p&gt;
&lt;h3 id=&#34;back-up-the-grafana-configuration-file&#34;&gt;Back up the Grafana configuration file&lt;/h3&gt;
&lt;p&gt;Copy Grafana configuration files that you might have modified in your Grafana deployment to a backup directory.&lt;/p&gt;
&lt;p&gt;The Grafana configuration files are located in the following directories:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Default configuration: &lt;code&gt;$WORKING_DIR/defaults.ini&lt;/code&gt; (Don&amp;rsquo;t change this file)&lt;/li&gt;
&lt;li&gt;Custom configuration: &lt;code&gt;$WORKING_DIR/custom.ini&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For more information on where to find configuration files, refer to 
    &lt;a href=&#34;/docs/grafana/v13.2/setup-grafana/configure-grafana/#configuration-file-location&#34;&gt;Configuration file location&lt;/a&gt;.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;If you installed Grafana using the &lt;code&gt;deb&lt;/code&gt; or &lt;code&gt;rpm&lt;/code&gt; packages, then your configuration file is located at
&lt;code&gt;/etc/grafana/grafana.ini&lt;/code&gt;. This path is specified in the Grafana &lt;code&gt;init.d&lt;/code&gt; script using &lt;code&gt;--config&lt;/code&gt; file parameter.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;h3 id=&#34;back-up-plugin-data&#34;&gt;Back up plugin data&lt;/h3&gt;
&lt;p&gt;Installing plugins in Grafana creates a folder for each plugin with its associated files and data. Copy all files and folders recursively from this location to your backup repository.&lt;/p&gt;
&lt;p&gt;The Grafana plugin files are located in the following directories:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Default location for plugins in a binary or source installation: &lt;code&gt;$WORKING_DIR/data/plugins&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Default location for plugins in a &lt;code&gt;deb&lt;/code&gt; or &lt;code&gt;rpm&lt;/code&gt; package: &lt;code&gt;/var/lib/grafana/plugins&lt;/code&gt;. This path is specified in the Grafana init.d script using &lt;code&gt;--config&lt;/code&gt; file parameter.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;back-up-the-grafana-database&#34;&gt;Back up the Grafana database&lt;/h3&gt;
&lt;p&gt;We recommend that you back up your Grafana database so that you can roll back to a previous version, if required.&lt;/p&gt;
&lt;h4 id=&#34;sqlite&#34;&gt;SQLite&lt;/h4&gt;
&lt;p&gt;The default Grafana database is SQLite, which stores its data in a single file on disk. To back up this file, copy it to your backup repository.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;To ensure data integrity, shut down your Grafana service before backing up the SQLite database.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;p&gt;The SQLite database file is located in one of the following directories:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Default location for SQLite data in a binary or source installation: &lt;code&gt;$WORKING_DIR/data/grafana.db&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Default location for SQLite data in a &lt;code&gt;deb&lt;/code&gt; or &lt;code&gt;rpm&lt;/code&gt; package: &lt;code&gt;/var/lib/grafana/grafana.db&lt;/code&gt;. This path is specified in the Grafana
init.d script using &lt;code&gt;--config&lt;/code&gt; file parameter.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;mysql&#34;&gt;MySQL&lt;/h4&gt;
&lt;p&gt;To back up or restore a MySQL Grafana database, run the following commands:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;backup:
&amp;gt; mysqldump -u root -p[root_password] [grafana] &amp;gt; grafana_backup.sql

restore:
&amp;gt; mysql -u root -p grafana &amp;lt; grafana_backup.sql&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&#34;postgres&#34;&gt;Postgres&lt;/h4&gt;
&lt;p&gt;To back up or restore a Postgres Grafana database, run the following commands:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;backup:
&amp;gt; pg_dump grafana &amp;gt; grafana_backup

restore:
&amp;gt; psql grafana &amp;lt; grafana_backup&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;

  &lt;/div&gt;

        


&lt;div data-shared=&#34;upgrade/upgrade-common-tasks.md&#34;&gt;
            &lt;h2 id=&#34;upgrade-grafana&#34;&gt;Upgrade Grafana&lt;/h2&gt;
&lt;p&gt;The following sections provide instructions for how to upgrade Grafana based on your installation method. For more information on where to find configuration files, refer to 
    &lt;a href=&#34;/docs/grafana/v13.2/setup-grafana/configure-grafana/#configuration-file-location&#34;&gt;Configuration file location&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;debian&#34;&gt;Debian&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed from a Debian package (&lt;code&gt;.deb&lt;/code&gt;), complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to a file named &lt;code&gt;&amp;lt;grafana_install_dir&amp;gt;/grafana.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;/grafana/download?platform=linux&#34;&gt;Download&lt;/a&gt; the latest version of Grafana.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run the following &lt;code&gt;dpkg -i&lt;/code&gt; command.&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;wget &amp;lt;debian package url&amp;gt;
sudo apt-get install -y adduser
sudo dpkg -i grafana_&amp;lt;version&amp;gt;_amd64.deb&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;apt-repository&#34;&gt;APT repository&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed from the Grafana Labs APT repository, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to a file named &lt;code&gt;&amp;lt;grafana_install_dir&amp;gt;/grafana.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run the following commands:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo apt-get update
sudo apt-get upgrade&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Grafana automatically updates when you run &lt;code&gt;apt-get upgrade&lt;/code&gt;.&lt;/p&gt;
&lt;h3 id=&#34;binary-tar-file&#34;&gt;Binary .tar file&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed from the binary &lt;code&gt;.tar.gz&lt;/code&gt; package, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to the custom configuration file, &lt;code&gt;custom.ini&lt;/code&gt; or &lt;code&gt;grafana.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;/grafana/download&#34;&gt;Download&lt;/a&gt; the binary &lt;code&gt;.tar.gz&lt;/code&gt; package.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Extract the downloaded package and overwrite the existing files.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;rpm-or-yum&#34;&gt;RPM or YUM&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed using RPM or YUM complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to a file named &lt;code&gt;&amp;lt;grafana_install_dir&amp;gt;/grafana.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Perform one of the following steps based on your installation.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;If you &lt;a href=&#34;/grafana/download&#34;&gt;downloaded an RPM package&lt;/a&gt; to install Grafana, then complete the steps documented in 
    &lt;a href=&#34;/docs/grafana/v13.2/setup-grafana/installation/redhat-rhel-fedora/&#34;&gt;Install Grafana on Red Hat, RHEL, or Fedora&lt;/a&gt; or 
    &lt;a href=&#34;/docs/grafana/v13.2//setup-grafana/installation/suse-opensuse/&#34;&gt;Install Grafana on SUSE or openSUSE&lt;/a&gt; to upgrade Grafana.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you used the Grafana YUM repository, run the following command:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo yum update grafana&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you installed Grafana on openSUSE or SUSE, run the following command:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo zypper update&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;docker&#34;&gt;Docker&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana running in a Docker container, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Use Grafana 
    &lt;a href=&#34;/docs/grafana/v13.2/setup-grafana/configure-grafana/#override-configuration-with-environment-variables&#34;&gt;environment variables&lt;/a&gt; to save your custom configurations; this is the recommended method. Alternatively, you can view your configuration files manually by accessing the deployed container.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run a commands similar to the following commands.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;This is an example. The parameters you enter depend on how you configured your Grafana container.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;


&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;docker pull grafana/grafana
docker stop my-grafana-container
docker rm my-grafana-container
docker run -d --name=my-grafana-container --restart=always -v /var/lib/grafana:/var/lib/grafana grafana/grafana&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;windows&#34;&gt;Windows&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed on Windows, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to a file named &lt;code&gt;&amp;lt;grafana_install_dir&amp;gt;/conf/custom.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;/grafana/download&#34;&gt;Download&lt;/a&gt; the Windows binary package.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Extract the contents of the package to the location in which you installed Grafana.&lt;/p&gt;
&lt;p&gt;You can overwrite existing files and folders, when prompted.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;mac&#34;&gt;Mac&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed on Mac, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to the custom configuration file, &lt;code&gt;custom.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;/grafana/download&#34;&gt;Download&lt;/a&gt; the Mac binary package.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Extract the contents of the package to the location in which you installed Grafana.&lt;/p&gt;
&lt;p&gt;You can overwrite existing files and folders, when prompted.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;update-grafana-plugins&#34;&gt;Update Grafana plugins&lt;/h2&gt;
&lt;p&gt;After you upgrade Grafana, we recommend that you update all plugins because a new version of Grafana
can make older plugins stop working properly.&lt;/p&gt;
&lt;p&gt;Run the following command to update plugins:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;grafana cli plugins update-all&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;

        
&lt;h2 id=&#34;technical-notes&#34;&gt;Technical notes&lt;/h2&gt;
]]></content><description>&lt;h1 id="upgrade-to-grafana-v113">Upgrade to Grafana v11.3&lt;/h1>
&lt;div data-shared="upgrade/intro.md">
&lt;p>We recommend that you upgrade Grafana often to stay current with the latest fixes and enhancements.
Because Grafana upgrades are backward compatible, the upgrade process is straightforward, and dashboards and graphs will not change.&lt;/p></description></item><item><title>Upgrade to Grafana v11.2</title><link>https://grafana.com/docs/grafana/v13.2/upgrade-guide/upgrade-v11/upgrade-v11.2/</link><pubDate>Thu, 22 Oct 2026 17:15:37 +0000</pubDate><guid>https://grafana.com/docs/grafana/v13.2/upgrade-guide/upgrade-v11/upgrade-v11.2/</guid><content><![CDATA[&lt;h1 id=&#34;upgrade-to-grafana-v112&#34;&gt;Upgrade to Grafana v11.2&lt;/h1&gt;


&lt;div data-shared=&#34;upgrade/intro.md&#34;&gt;
            &lt;p&gt;We recommend that you upgrade Grafana often to stay current with the latest fixes and enhancements.
Because Grafana upgrades are backward compatible, the upgrade process is straightforward, and dashboards and graphs will not change.&lt;/p&gt;
&lt;p&gt;In addition to common tasks you should complete for all versions of Grafana, there might be additional upgrade tasks to complete for a version.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;There might be breaking changes in some releases. We outline these changes in the 
    &lt;a href=&#34;/docs/grafana/v13.2/whatsnew/&#34;&gt;What&amp;rsquo;s New &lt;/a&gt; document for each release.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;p&gt;For versions of Grafana prior to v9.2, we published additional information in the 
    &lt;a href=&#34;/docs/grafana/v13.2/release-notes/&#34;&gt;Release Notes&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;When available, we list all changes with links to pull requests or issues in the &lt;a href=&#34;https://github.com/grafana/grafana/blob/main/CHANGELOG.md&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Changelog&lt;/a&gt;.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;When possible, we recommend that you test the Grafana upgrade process in a test or development environment.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;/div&gt;

        


&lt;div data-shared=&#34;back-up/back-up-grafana.md&#34;&gt;
            

&lt;h2 id=&#34;back-up-grafana&#34;&gt;Back up Grafana&lt;/h2&gt;
&lt;p&gt;This topic explains how to back up a local Grafana deployment, including configuration, plugin data, and the Grafana database.&lt;/p&gt;
&lt;h3 id=&#34;back-up-the-grafana-configuration-file&#34;&gt;Back up the Grafana configuration file&lt;/h3&gt;
&lt;p&gt;Copy Grafana configuration files that you might have modified in your Grafana deployment to a backup directory.&lt;/p&gt;
&lt;p&gt;The Grafana configuration files are located in the following directories:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Default configuration: &lt;code&gt;$WORKING_DIR/defaults.ini&lt;/code&gt; (Don&amp;rsquo;t change this file)&lt;/li&gt;
&lt;li&gt;Custom configuration: &lt;code&gt;$WORKING_DIR/custom.ini&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For more information on where to find configuration files, refer to 
    &lt;a href=&#34;/docs/grafana/v13.2/setup-grafana/configure-grafana/#configuration-file-location&#34;&gt;Configuration file location&lt;/a&gt;.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;If you installed Grafana using the &lt;code&gt;deb&lt;/code&gt; or &lt;code&gt;rpm&lt;/code&gt; packages, then your configuration file is located at
&lt;code&gt;/etc/grafana/grafana.ini&lt;/code&gt;. This path is specified in the Grafana &lt;code&gt;init.d&lt;/code&gt; script using &lt;code&gt;--config&lt;/code&gt; file parameter.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;h3 id=&#34;back-up-plugin-data&#34;&gt;Back up plugin data&lt;/h3&gt;
&lt;p&gt;Installing plugins in Grafana creates a folder for each plugin with its associated files and data. Copy all files and folders recursively from this location to your backup repository.&lt;/p&gt;
&lt;p&gt;The Grafana plugin files are located in the following directories:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Default location for plugins in a binary or source installation: &lt;code&gt;$WORKING_DIR/data/plugins&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Default location for plugins in a &lt;code&gt;deb&lt;/code&gt; or &lt;code&gt;rpm&lt;/code&gt; package: &lt;code&gt;/var/lib/grafana/plugins&lt;/code&gt;. This path is specified in the Grafana init.d script using &lt;code&gt;--config&lt;/code&gt; file parameter.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;back-up-the-grafana-database&#34;&gt;Back up the Grafana database&lt;/h3&gt;
&lt;p&gt;We recommend that you back up your Grafana database so that you can roll back to a previous version, if required.&lt;/p&gt;
&lt;h4 id=&#34;sqlite&#34;&gt;SQLite&lt;/h4&gt;
&lt;p&gt;The default Grafana database is SQLite, which stores its data in a single file on disk. To back up this file, copy it to your backup repository.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;To ensure data integrity, shut down your Grafana service before backing up the SQLite database.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;p&gt;The SQLite database file is located in one of the following directories:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Default location for SQLite data in a binary or source installation: &lt;code&gt;$WORKING_DIR/data/grafana.db&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Default location for SQLite data in a &lt;code&gt;deb&lt;/code&gt; or &lt;code&gt;rpm&lt;/code&gt; package: &lt;code&gt;/var/lib/grafana/grafana.db&lt;/code&gt;. This path is specified in the Grafana
init.d script using &lt;code&gt;--config&lt;/code&gt; file parameter.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;mysql&#34;&gt;MySQL&lt;/h4&gt;
&lt;p&gt;To back up or restore a MySQL Grafana database, run the following commands:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;backup:
&amp;gt; mysqldump -u root -p[root_password] [grafana] &amp;gt; grafana_backup.sql

restore:
&amp;gt; mysql -u root -p grafana &amp;lt; grafana_backup.sql&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&#34;postgres&#34;&gt;Postgres&lt;/h4&gt;
&lt;p&gt;To back up or restore a Postgres Grafana database, run the following commands:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;backup:
&amp;gt; pg_dump grafana &amp;gt; grafana_backup

restore:
&amp;gt; psql grafana &amp;lt; grafana_backup&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;

  &lt;/div&gt;

        


&lt;div data-shared=&#34;upgrade/upgrade-common-tasks.md&#34;&gt;
            &lt;h2 id=&#34;upgrade-grafana&#34;&gt;Upgrade Grafana&lt;/h2&gt;
&lt;p&gt;The following sections provide instructions for how to upgrade Grafana based on your installation method. For more information on where to find configuration files, refer to 
    &lt;a href=&#34;/docs/grafana/v13.2/setup-grafana/configure-grafana/#configuration-file-location&#34;&gt;Configuration file location&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;debian&#34;&gt;Debian&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed from a Debian package (&lt;code&gt;.deb&lt;/code&gt;), complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to a file named &lt;code&gt;&amp;lt;grafana_install_dir&amp;gt;/grafana.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;/grafana/download?platform=linux&#34;&gt;Download&lt;/a&gt; the latest version of Grafana.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run the following &lt;code&gt;dpkg -i&lt;/code&gt; command.&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;wget &amp;lt;debian package url&amp;gt;
sudo apt-get install -y adduser
sudo dpkg -i grafana_&amp;lt;version&amp;gt;_amd64.deb&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;apt-repository&#34;&gt;APT repository&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed from the Grafana Labs APT repository, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to a file named &lt;code&gt;&amp;lt;grafana_install_dir&amp;gt;/grafana.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run the following commands:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo apt-get update
sudo apt-get upgrade&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Grafana automatically updates when you run &lt;code&gt;apt-get upgrade&lt;/code&gt;.&lt;/p&gt;
&lt;h3 id=&#34;binary-tar-file&#34;&gt;Binary .tar file&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed from the binary &lt;code&gt;.tar.gz&lt;/code&gt; package, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to the custom configuration file, &lt;code&gt;custom.ini&lt;/code&gt; or &lt;code&gt;grafana.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;/grafana/download&#34;&gt;Download&lt;/a&gt; the binary &lt;code&gt;.tar.gz&lt;/code&gt; package.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Extract the downloaded package and overwrite the existing files.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;rpm-or-yum&#34;&gt;RPM or YUM&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed using RPM or YUM complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to a file named &lt;code&gt;&amp;lt;grafana_install_dir&amp;gt;/grafana.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Perform one of the following steps based on your installation.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;If you &lt;a href=&#34;/grafana/download&#34;&gt;downloaded an RPM package&lt;/a&gt; to install Grafana, then complete the steps documented in 
    &lt;a href=&#34;/docs/grafana/v13.2/setup-grafana/installation/redhat-rhel-fedora/&#34;&gt;Install Grafana on Red Hat, RHEL, or Fedora&lt;/a&gt; or 
    &lt;a href=&#34;/docs/grafana/v13.2//setup-grafana/installation/suse-opensuse/&#34;&gt;Install Grafana on SUSE or openSUSE&lt;/a&gt; to upgrade Grafana.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you used the Grafana YUM repository, run the following command:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo yum update grafana&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you installed Grafana on openSUSE or SUSE, run the following command:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo zypper update&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;docker&#34;&gt;Docker&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana running in a Docker container, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Use Grafana 
    &lt;a href=&#34;/docs/grafana/v13.2/setup-grafana/configure-grafana/#override-configuration-with-environment-variables&#34;&gt;environment variables&lt;/a&gt; to save your custom configurations; this is the recommended method. Alternatively, you can view your configuration files manually by accessing the deployed container.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run a commands similar to the following commands.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;This is an example. The parameters you enter depend on how you configured your Grafana container.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;


&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;docker pull grafana/grafana
docker stop my-grafana-container
docker rm my-grafana-container
docker run -d --name=my-grafana-container --restart=always -v /var/lib/grafana:/var/lib/grafana grafana/grafana&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;windows&#34;&gt;Windows&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed on Windows, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to a file named &lt;code&gt;&amp;lt;grafana_install_dir&amp;gt;/conf/custom.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;/grafana/download&#34;&gt;Download&lt;/a&gt; the Windows binary package.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Extract the contents of the package to the location in which you installed Grafana.&lt;/p&gt;
&lt;p&gt;You can overwrite existing files and folders, when prompted.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;mac&#34;&gt;Mac&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed on Mac, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to the custom configuration file, &lt;code&gt;custom.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;/grafana/download&#34;&gt;Download&lt;/a&gt; the Mac binary package.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Extract the contents of the package to the location in which you installed Grafana.&lt;/p&gt;
&lt;p&gt;You can overwrite existing files and folders, when prompted.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;update-grafana-plugins&#34;&gt;Update Grafana plugins&lt;/h2&gt;
&lt;p&gt;After you upgrade Grafana, we recommend that you update all plugins because a new version of Grafana
can make older plugins stop working properly.&lt;/p&gt;
&lt;p&gt;Run the following command to update plugins:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;grafana cli plugins update-all&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;

        
&lt;h2 id=&#34;technical-notes&#34;&gt;Technical notes&lt;/h2&gt;
&lt;h3 id=&#34;grafana-data-source-uid-format-enforcement&#34;&gt;Grafana data source UID format enforcement&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Ensure that your data source UIDs follow the correct standard&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;We&amp;rsquo;ve had a standard ways to define UIDs for Grafana objects for years (at least &lt;a href=&#34;https://github.com/grafana/grafana/issues/7883&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;since Grafana v5&lt;/a&gt;). While all of our internal code complies to this format, we didn&amp;rsquo;t yet have strict enforcement of this format in REST APIs and provisioning paths that allow the creation and update of data sources.&lt;/p&gt;
&lt;p&gt;In Grafana v11.1, we &lt;a href=&#34;https://github.com/grafana/grafana/pull/86598&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;introduced&lt;/a&gt; a warning that is sent to Grafana server logs every time a data source instance is being created or updated using an invalid UID format.&lt;/p&gt;
&lt;p&gt;In Grafana v11.2, we &lt;a href=&#34;https://github.com/grafana/grafana/pull/89363/files&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;added&lt;/a&gt; a new feature flag called &lt;code&gt;failWrongDSUID&lt;/code&gt; that is turned off by default. When enabled, the REST APIs and provisioning start rejecting any requests to create or update data source instances that have an incorrect UID.&lt;/p&gt;
&lt;p&gt;In Grafana v11.5, we&amp;rsquo;re going to turn feature flag &lt;code&gt;failWrongDSUID&lt;/code&gt; on by default, but there will still be an option to turn it off.&lt;/p&gt;
&lt;p&gt;In Grafana v12, this will be the default behavior and will not be configurable.&lt;/p&gt;
&lt;h4 id=&#34;correct-uid-format&#34;&gt;Correct UID format&lt;/h4&gt;
&lt;p&gt;You can find the exact regex definition &lt;a href=&#34;https://github.com/grafana/grafana/blob/c92f5169d1c83508beb777f71a93336179fe426e/pkg/util/shortid_generator.go#L32-L45&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;in the grafana repository&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;A data source UID can only contain:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Latin characters (&lt;code&gt;a-Z&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Numbers (&lt;code&gt;0-9&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Dash symbols (&lt;code&gt;-&lt;/code&gt;)&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;how-do-i-know-if-im-affected&#34;&gt;How do I know if I&amp;rsquo;m affected?&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;You can fetch all your data sources using the &lt;code&gt;/api/datasources&lt;/code&gt; API. Review the &lt;code&gt;uid&lt;/code&gt; fields, comparing them to the correct format, as shown &lt;a href=&#34;/docs/grafana/latest/developers/http_api/data_source/#get-all-data-sources&#34;&gt;in the docs&lt;/a&gt;. Following is a script that can help, but note that it&amp;rsquo;s missing authentication that you &lt;a href=&#34;/docs/grafana/latest/developers/http_api/#authenticating-api-requests&#34;&gt;have to add yourself&lt;/a&gt;:&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&#34;code-snippet code-snippet__mini&#34;&gt;&lt;div class=&#34;lang-toolbar__mini&#34;&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet code-snippet__border&#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-none&#34;&gt;curl http://localhost:3000/api/datasources | jq &amp;#39;.[] | select((.uid | test(&amp;#34;^[a-zA-Z0-9\\-_]&amp;#43;$&amp;#34;) | not) or (.uid | length &amp;gt; 40)) | {id, uid, name, type}&amp;#39;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Alternatively, you can check the server logs for the &lt;code&gt;Invalid datasource uid&lt;/code&gt; &lt;a href=&#34;https://github.com/grafana/grafana/blob/68751ed3107c4d15d33f34b15183ee276611785c/pkg/services/datasources/service/store.go#L429&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;error&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;what-do-i-do-if-im-affected&#34;&gt;What do I do if I&amp;rsquo;m affected?&lt;/h4&gt;
&lt;p&gt;You&amp;rsquo;ll need to create a new data source with the correct UID and update your dashboards and alert rules to use it.&lt;/p&gt;
&lt;h4 id=&#34;how-do-i-update-my-dashboards-to-use-the-new-or-updated-data-source&#34;&gt;How do I update my dashboards to use the new or updated data source?&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Go to the dashboard using the data source and update it by selecting the new or updated data source from the picker below your panel.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Update the dashboard&amp;rsquo;s JSON model directly using search and replace.&lt;/p&gt;
&lt;p&gt;Navigate to &lt;a href=&#34;/docs/grafana/latest/dashboards/build-dashboards/view-dashboard-json-model/&#34;&gt;dashboard json model&lt;/a&gt; and carefully replace all the instances of old &lt;code&gt;uid&lt;/code&gt; with the newly created &lt;code&gt;uid&lt;/code&gt;.&lt;/p&gt;
&lt;figure
       class=&#34;figure-wrapper figure-wrapper__lightbox w-100p &#34;
       style=&#34;max-width: 2970px;&#34;
       itemprop=&#34;associatedMedia&#34;
       itemscope=&#34;&#34;
       itemtype=&#34;http://schema.org/ImageObject&#34;
     &gt;&lt;a
           class=&#34;lightbox-link&#34;
           href=&#34;/media/docs/grafana/screenshot-grafana-11-datasource-uid-enforcement.png&#34;
           itemprop=&#34;contentUrl&#34;
         &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
             class=&#34;lazyload &#34;
             data-src=&#34;/media/docs/grafana/screenshot-grafana-11-datasource-uid-enforcement.png&#34;data-srcset=&#34;/media/docs/grafana/screenshot-grafana-11-datasource-uid-enforcement.png?w=320 320w, /media/docs/grafana/screenshot-grafana-11-datasource-uid-enforcement.png?w=550 550w, /media/docs/grafana/screenshot-grafana-11-datasource-uid-enforcement.png?w=750 750w, /media/docs/grafana/screenshot-grafana-11-datasource-uid-enforcement.png?w=900 900w, /media/docs/grafana/screenshot-grafana-11-datasource-uid-enforcement.png?w=1040 1040w, /media/docs/grafana/screenshot-grafana-11-datasource-uid-enforcement.png?w=1240 1240w, /media/docs/grafana/screenshot-grafana-11-datasource-uid-enforcement.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Updating JSON Model of a Dashboard&#34;width=&#34;2970&#34;height=&#34;628&#34;/&gt;
           &lt;noscript&gt;
             &lt;img
               src=&#34;/media/docs/grafana/screenshot-grafana-11-datasource-uid-enforcement.png&#34;
               alt=&#34;Updating JSON Model of a Dashboard&#34;width=&#34;2970&#34;height=&#34;628&#34;/&gt;
           &lt;/noscript&gt;&lt;/div&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h4 id=&#34;how-do-i-update-my-alert-rules-to-use-the-new-or-updated-data-source&#34;&gt;How do I update my alert rules to use the new or updated data source?&lt;/h4&gt;
&lt;p&gt;Open the alert rule you want to adjust and search for the data source that is being used for the query/alert condition. From there, select the new data source from the drop-down list and save the alert rule.&lt;/p&gt;
]]></content><description>&lt;h1 id="upgrade-to-grafana-v112">Upgrade to Grafana v11.2&lt;/h1>
&lt;div data-shared="upgrade/intro.md">
&lt;p>We recommend that you upgrade Grafana often to stay current with the latest fixes and enhancements.
Because Grafana upgrades are backward compatible, the upgrade process is straightforward, and dashboards and graphs will not change.&lt;/p></description></item><item><title>Upgrade to Grafana v11.1</title><link>https://grafana.com/docs/grafana/v13.2/upgrade-guide/upgrade-v11/upgrade-v11.1/</link><pubDate>Thu, 22 Oct 2026 17:15:37 +0000</pubDate><guid>https://grafana.com/docs/grafana/v13.2/upgrade-guide/upgrade-v11/upgrade-v11.1/</guid><content><![CDATA[&lt;h1 id=&#34;upgrade-to-grafana-v111&#34;&gt;Upgrade to Grafana v11.1&lt;/h1&gt;


&lt;div data-shared=&#34;upgrade/intro.md&#34;&gt;
            &lt;p&gt;We recommend that you upgrade Grafana often to stay current with the latest fixes and enhancements.
Because Grafana upgrades are backward compatible, the upgrade process is straightforward, and dashboards and graphs will not change.&lt;/p&gt;
&lt;p&gt;In addition to common tasks you should complete for all versions of Grafana, there might be additional upgrade tasks to complete for a version.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;There might be breaking changes in some releases. We outline these changes in the 
    &lt;a href=&#34;/docs/grafana/v13.2/whatsnew/&#34;&gt;What&amp;rsquo;s New &lt;/a&gt; document for each release.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;p&gt;For versions of Grafana prior to v9.2, we published additional information in the 
    &lt;a href=&#34;/docs/grafana/v13.2/release-notes/&#34;&gt;Release Notes&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;When available, we list all changes with links to pull requests or issues in the &lt;a href=&#34;https://github.com/grafana/grafana/blob/main/CHANGELOG.md&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Changelog&lt;/a&gt;.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;When possible, we recommend that you test the Grafana upgrade process in a test or development environment.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;/div&gt;

        


&lt;div data-shared=&#34;back-up/back-up-grafana.md&#34;&gt;
            

&lt;h2 id=&#34;back-up-grafana&#34;&gt;Back up Grafana&lt;/h2&gt;
&lt;p&gt;This topic explains how to back up a local Grafana deployment, including configuration, plugin data, and the Grafana database.&lt;/p&gt;
&lt;h3 id=&#34;back-up-the-grafana-configuration-file&#34;&gt;Back up the Grafana configuration file&lt;/h3&gt;
&lt;p&gt;Copy Grafana configuration files that you might have modified in your Grafana deployment to a backup directory.&lt;/p&gt;
&lt;p&gt;The Grafana configuration files are located in the following directories:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Default configuration: &lt;code&gt;$WORKING_DIR/defaults.ini&lt;/code&gt; (Don&amp;rsquo;t change this file)&lt;/li&gt;
&lt;li&gt;Custom configuration: &lt;code&gt;$WORKING_DIR/custom.ini&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For more information on where to find configuration files, refer to 
    &lt;a href=&#34;/docs/grafana/v13.2/setup-grafana/configure-grafana/#configuration-file-location&#34;&gt;Configuration file location&lt;/a&gt;.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;If you installed Grafana using the &lt;code&gt;deb&lt;/code&gt; or &lt;code&gt;rpm&lt;/code&gt; packages, then your configuration file is located at
&lt;code&gt;/etc/grafana/grafana.ini&lt;/code&gt;. This path is specified in the Grafana &lt;code&gt;init.d&lt;/code&gt; script using &lt;code&gt;--config&lt;/code&gt; file parameter.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;h3 id=&#34;back-up-plugin-data&#34;&gt;Back up plugin data&lt;/h3&gt;
&lt;p&gt;Installing plugins in Grafana creates a folder for each plugin with its associated files and data. Copy all files and folders recursively from this location to your backup repository.&lt;/p&gt;
&lt;p&gt;The Grafana plugin files are located in the following directories:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Default location for plugins in a binary or source installation: &lt;code&gt;$WORKING_DIR/data/plugins&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Default location for plugins in a &lt;code&gt;deb&lt;/code&gt; or &lt;code&gt;rpm&lt;/code&gt; package: &lt;code&gt;/var/lib/grafana/plugins&lt;/code&gt;. This path is specified in the Grafana init.d script using &lt;code&gt;--config&lt;/code&gt; file parameter.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;back-up-the-grafana-database&#34;&gt;Back up the Grafana database&lt;/h3&gt;
&lt;p&gt;We recommend that you back up your Grafana database so that you can roll back to a previous version, if required.&lt;/p&gt;
&lt;h4 id=&#34;sqlite&#34;&gt;SQLite&lt;/h4&gt;
&lt;p&gt;The default Grafana database is SQLite, which stores its data in a single file on disk. To back up this file, copy it to your backup repository.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;To ensure data integrity, shut down your Grafana service before backing up the SQLite database.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;p&gt;The SQLite database file is located in one of the following directories:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Default location for SQLite data in a binary or source installation: &lt;code&gt;$WORKING_DIR/data/grafana.db&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Default location for SQLite data in a &lt;code&gt;deb&lt;/code&gt; or &lt;code&gt;rpm&lt;/code&gt; package: &lt;code&gt;/var/lib/grafana/grafana.db&lt;/code&gt;. This path is specified in the Grafana
init.d script using &lt;code&gt;--config&lt;/code&gt; file parameter.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;mysql&#34;&gt;MySQL&lt;/h4&gt;
&lt;p&gt;To back up or restore a MySQL Grafana database, run the following commands:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;backup:
&amp;gt; mysqldump -u root -p[root_password] [grafana] &amp;gt; grafana_backup.sql

restore:
&amp;gt; mysql -u root -p grafana &amp;lt; grafana_backup.sql&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&#34;postgres&#34;&gt;Postgres&lt;/h4&gt;
&lt;p&gt;To back up or restore a Postgres Grafana database, run the following commands:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;backup:
&amp;gt; pg_dump grafana &amp;gt; grafana_backup

restore:
&amp;gt; psql grafana &amp;lt; grafana_backup&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;

  &lt;/div&gt;

        


&lt;div data-shared=&#34;upgrade/upgrade-common-tasks.md&#34;&gt;
            &lt;h2 id=&#34;upgrade-grafana&#34;&gt;Upgrade Grafana&lt;/h2&gt;
&lt;p&gt;The following sections provide instructions for how to upgrade Grafana based on your installation method. For more information on where to find configuration files, refer to 
    &lt;a href=&#34;/docs/grafana/v13.2/setup-grafana/configure-grafana/#configuration-file-location&#34;&gt;Configuration file location&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;debian&#34;&gt;Debian&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed from a Debian package (&lt;code&gt;.deb&lt;/code&gt;), complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to a file named &lt;code&gt;&amp;lt;grafana_install_dir&amp;gt;/grafana.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;/grafana/download?platform=linux&#34;&gt;Download&lt;/a&gt; the latest version of Grafana.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run the following &lt;code&gt;dpkg -i&lt;/code&gt; command.&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;wget &amp;lt;debian package url&amp;gt;
sudo apt-get install -y adduser
sudo dpkg -i grafana_&amp;lt;version&amp;gt;_amd64.deb&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;apt-repository&#34;&gt;APT repository&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed from the Grafana Labs APT repository, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to a file named &lt;code&gt;&amp;lt;grafana_install_dir&amp;gt;/grafana.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run the following commands:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo apt-get update
sudo apt-get upgrade&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Grafana automatically updates when you run &lt;code&gt;apt-get upgrade&lt;/code&gt;.&lt;/p&gt;
&lt;h3 id=&#34;binary-tar-file&#34;&gt;Binary .tar file&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed from the binary &lt;code&gt;.tar.gz&lt;/code&gt; package, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to the custom configuration file, &lt;code&gt;custom.ini&lt;/code&gt; or &lt;code&gt;grafana.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;/grafana/download&#34;&gt;Download&lt;/a&gt; the binary &lt;code&gt;.tar.gz&lt;/code&gt; package.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Extract the downloaded package and overwrite the existing files.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;rpm-or-yum&#34;&gt;RPM or YUM&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed using RPM or YUM complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to a file named &lt;code&gt;&amp;lt;grafana_install_dir&amp;gt;/grafana.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Perform one of the following steps based on your installation.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;If you &lt;a href=&#34;/grafana/download&#34;&gt;downloaded an RPM package&lt;/a&gt; to install Grafana, then complete the steps documented in 
    &lt;a href=&#34;/docs/grafana/v13.2/setup-grafana/installation/redhat-rhel-fedora/&#34;&gt;Install Grafana on Red Hat, RHEL, or Fedora&lt;/a&gt; or 
    &lt;a href=&#34;/docs/grafana/v13.2//setup-grafana/installation/suse-opensuse/&#34;&gt;Install Grafana on SUSE or openSUSE&lt;/a&gt; to upgrade Grafana.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you used the Grafana YUM repository, run the following command:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo yum update grafana&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you installed Grafana on openSUSE or SUSE, run the following command:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo zypper update&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;docker&#34;&gt;Docker&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana running in a Docker container, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Use Grafana 
    &lt;a href=&#34;/docs/grafana/v13.2/setup-grafana/configure-grafana/#override-configuration-with-environment-variables&#34;&gt;environment variables&lt;/a&gt; to save your custom configurations; this is the recommended method. Alternatively, you can view your configuration files manually by accessing the deployed container.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run a commands similar to the following commands.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;This is an example. The parameters you enter depend on how you configured your Grafana container.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;


&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;docker pull grafana/grafana
docker stop my-grafana-container
docker rm my-grafana-container
docker run -d --name=my-grafana-container --restart=always -v /var/lib/grafana:/var/lib/grafana grafana/grafana&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;windows&#34;&gt;Windows&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed on Windows, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to a file named &lt;code&gt;&amp;lt;grafana_install_dir&amp;gt;/conf/custom.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;/grafana/download&#34;&gt;Download&lt;/a&gt; the Windows binary package.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Extract the contents of the package to the location in which you installed Grafana.&lt;/p&gt;
&lt;p&gt;You can overwrite existing files and folders, when prompted.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;mac&#34;&gt;Mac&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed on Mac, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to the custom configuration file, &lt;code&gt;custom.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;/grafana/download&#34;&gt;Download&lt;/a&gt; the Mac binary package.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Extract the contents of the package to the location in which you installed Grafana.&lt;/p&gt;
&lt;p&gt;You can overwrite existing files and folders, when prompted.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;update-grafana-plugins&#34;&gt;Update Grafana plugins&lt;/h2&gt;
&lt;p&gt;After you upgrade Grafana, we recommend that you update all plugins because a new version of Grafana
can make older plugins stop working properly.&lt;/p&gt;
&lt;p&gt;Run the following command to update plugins:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;grafana cli plugins update-all&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;

        
&lt;h2 id=&#34;technical-notes&#34;&gt;Technical notes&lt;/h2&gt;
]]></content><description>&lt;h1 id="upgrade-to-grafana-v111">Upgrade to Grafana v11.1&lt;/h1>
&lt;div data-shared="upgrade/intro.md">
&lt;p>We recommend that you upgrade Grafana often to stay current with the latest fixes and enhancements.
Because Grafana upgrades are backward compatible, the upgrade process is straightforward, and dashboards and graphs will not change.&lt;/p></description></item><item><title>Upgrade to Grafana v11.0</title><link>https://grafana.com/docs/grafana/v13.2/upgrade-guide/upgrade-v11/upgrade-v11.0/</link><pubDate>Thu, 22 Oct 2026 17:15:37 +0000</pubDate><guid>https://grafana.com/docs/grafana/v13.2/upgrade-guide/upgrade-v11/upgrade-v11.0/</guid><content><![CDATA[&lt;h1 id=&#34;upgrade-to-grafana-v110&#34;&gt;Upgrade to Grafana v11.0&lt;/h1&gt;


&lt;div data-shared=&#34;upgrade/intro.md&#34;&gt;
            &lt;p&gt;We recommend that you upgrade Grafana often to stay current with the latest fixes and enhancements.
Because Grafana upgrades are backward compatible, the upgrade process is straightforward, and dashboards and graphs will not change.&lt;/p&gt;
&lt;p&gt;In addition to common tasks you should complete for all versions of Grafana, there might be additional upgrade tasks to complete for a version.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;There might be breaking changes in some releases. We outline these changes in the 
    &lt;a href=&#34;/docs/grafana/v13.2/whatsnew/&#34;&gt;What&amp;rsquo;s New &lt;/a&gt; document for each release.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;p&gt;For versions of Grafana prior to v9.2, we published additional information in the 
    &lt;a href=&#34;/docs/grafana/v13.2/release-notes/&#34;&gt;Release Notes&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;When available, we list all changes with links to pull requests or issues in the &lt;a href=&#34;https://github.com/grafana/grafana/blob/main/CHANGELOG.md&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Changelog&lt;/a&gt;.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;When possible, we recommend that you test the Grafana upgrade process in a test or development environment.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;/div&gt;

        


&lt;div data-shared=&#34;back-up/back-up-grafana.md&#34;&gt;
            

&lt;h2 id=&#34;back-up-grafana&#34;&gt;Back up Grafana&lt;/h2&gt;
&lt;p&gt;This topic explains how to back up a local Grafana deployment, including configuration, plugin data, and the Grafana database.&lt;/p&gt;
&lt;h3 id=&#34;back-up-the-grafana-configuration-file&#34;&gt;Back up the Grafana configuration file&lt;/h3&gt;
&lt;p&gt;Copy Grafana configuration files that you might have modified in your Grafana deployment to a backup directory.&lt;/p&gt;
&lt;p&gt;The Grafana configuration files are located in the following directories:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Default configuration: &lt;code&gt;$WORKING_DIR/defaults.ini&lt;/code&gt; (Don&amp;rsquo;t change this file)&lt;/li&gt;
&lt;li&gt;Custom configuration: &lt;code&gt;$WORKING_DIR/custom.ini&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For more information on where to find configuration files, refer to 
    &lt;a href=&#34;/docs/grafana/v13.2/setup-grafana/configure-grafana/#configuration-file-location&#34;&gt;Configuration file location&lt;/a&gt;.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;If you installed Grafana using the &lt;code&gt;deb&lt;/code&gt; or &lt;code&gt;rpm&lt;/code&gt; packages, then your configuration file is located at
&lt;code&gt;/etc/grafana/grafana.ini&lt;/code&gt;. This path is specified in the Grafana &lt;code&gt;init.d&lt;/code&gt; script using &lt;code&gt;--config&lt;/code&gt; file parameter.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;h3 id=&#34;back-up-plugin-data&#34;&gt;Back up plugin data&lt;/h3&gt;
&lt;p&gt;Installing plugins in Grafana creates a folder for each plugin with its associated files and data. Copy all files and folders recursively from this location to your backup repository.&lt;/p&gt;
&lt;p&gt;The Grafana plugin files are located in the following directories:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Default location for plugins in a binary or source installation: &lt;code&gt;$WORKING_DIR/data/plugins&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Default location for plugins in a &lt;code&gt;deb&lt;/code&gt; or &lt;code&gt;rpm&lt;/code&gt; package: &lt;code&gt;/var/lib/grafana/plugins&lt;/code&gt;. This path is specified in the Grafana init.d script using &lt;code&gt;--config&lt;/code&gt; file parameter.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;back-up-the-grafana-database&#34;&gt;Back up the Grafana database&lt;/h3&gt;
&lt;p&gt;We recommend that you back up your Grafana database so that you can roll back to a previous version, if required.&lt;/p&gt;
&lt;h4 id=&#34;sqlite&#34;&gt;SQLite&lt;/h4&gt;
&lt;p&gt;The default Grafana database is SQLite, which stores its data in a single file on disk. To back up this file, copy it to your backup repository.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;To ensure data integrity, shut down your Grafana service before backing up the SQLite database.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;p&gt;The SQLite database file is located in one of the following directories:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Default location for SQLite data in a binary or source installation: &lt;code&gt;$WORKING_DIR/data/grafana.db&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Default location for SQLite data in a &lt;code&gt;deb&lt;/code&gt; or &lt;code&gt;rpm&lt;/code&gt; package: &lt;code&gt;/var/lib/grafana/grafana.db&lt;/code&gt;. This path is specified in the Grafana
init.d script using &lt;code&gt;--config&lt;/code&gt; file parameter.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;mysql&#34;&gt;MySQL&lt;/h4&gt;
&lt;p&gt;To back up or restore a MySQL Grafana database, run the following commands:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;backup:
&amp;gt; mysqldump -u root -p[root_password] [grafana] &amp;gt; grafana_backup.sql

restore:
&amp;gt; mysql -u root -p grafana &amp;lt; grafana_backup.sql&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&#34;postgres&#34;&gt;Postgres&lt;/h4&gt;
&lt;p&gt;To back up or restore a Postgres Grafana database, run the following commands:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;backup:
&amp;gt; pg_dump grafana &amp;gt; grafana_backup

restore:
&amp;gt; psql grafana &amp;lt; grafana_backup&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;

  &lt;/div&gt;

        


&lt;div data-shared=&#34;upgrade/upgrade-common-tasks.md&#34;&gt;
            &lt;h2 id=&#34;upgrade-grafana&#34;&gt;Upgrade Grafana&lt;/h2&gt;
&lt;p&gt;The following sections provide instructions for how to upgrade Grafana based on your installation method. For more information on where to find configuration files, refer to 
    &lt;a href=&#34;/docs/grafana/v13.2/setup-grafana/configure-grafana/#configuration-file-location&#34;&gt;Configuration file location&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;debian&#34;&gt;Debian&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed from a Debian package (&lt;code&gt;.deb&lt;/code&gt;), complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to a file named &lt;code&gt;&amp;lt;grafana_install_dir&amp;gt;/grafana.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;/grafana/download?platform=linux&#34;&gt;Download&lt;/a&gt; the latest version of Grafana.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run the following &lt;code&gt;dpkg -i&lt;/code&gt; command.&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;wget &amp;lt;debian package url&amp;gt;
sudo apt-get install -y adduser
sudo dpkg -i grafana_&amp;lt;version&amp;gt;_amd64.deb&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;apt-repository&#34;&gt;APT repository&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed from the Grafana Labs APT repository, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to a file named &lt;code&gt;&amp;lt;grafana_install_dir&amp;gt;/grafana.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run the following commands:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo apt-get update
sudo apt-get upgrade&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Grafana automatically updates when you run &lt;code&gt;apt-get upgrade&lt;/code&gt;.&lt;/p&gt;
&lt;h3 id=&#34;binary-tar-file&#34;&gt;Binary .tar file&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed from the binary &lt;code&gt;.tar.gz&lt;/code&gt; package, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to the custom configuration file, &lt;code&gt;custom.ini&lt;/code&gt; or &lt;code&gt;grafana.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;/grafana/download&#34;&gt;Download&lt;/a&gt; the binary &lt;code&gt;.tar.gz&lt;/code&gt; package.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Extract the downloaded package and overwrite the existing files.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;rpm-or-yum&#34;&gt;RPM or YUM&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed using RPM or YUM complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to a file named &lt;code&gt;&amp;lt;grafana_install_dir&amp;gt;/grafana.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Perform one of the following steps based on your installation.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;If you &lt;a href=&#34;/grafana/download&#34;&gt;downloaded an RPM package&lt;/a&gt; to install Grafana, then complete the steps documented in 
    &lt;a href=&#34;/docs/grafana/v13.2/setup-grafana/installation/redhat-rhel-fedora/&#34;&gt;Install Grafana on Red Hat, RHEL, or Fedora&lt;/a&gt; or 
    &lt;a href=&#34;/docs/grafana/v13.2//setup-grafana/installation/suse-opensuse/&#34;&gt;Install Grafana on SUSE or openSUSE&lt;/a&gt; to upgrade Grafana.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you used the Grafana YUM repository, run the following command:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo yum update grafana&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you installed Grafana on openSUSE or SUSE, run the following command:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo zypper update&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;docker&#34;&gt;Docker&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana running in a Docker container, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Use Grafana 
    &lt;a href=&#34;/docs/grafana/v13.2/setup-grafana/configure-grafana/#override-configuration-with-environment-variables&#34;&gt;environment variables&lt;/a&gt; to save your custom configurations; this is the recommended method. Alternatively, you can view your configuration files manually by accessing the deployed container.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run a commands similar to the following commands.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;This is an example. The parameters you enter depend on how you configured your Grafana container.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;


&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;docker pull grafana/grafana
docker stop my-grafana-container
docker rm my-grafana-container
docker run -d --name=my-grafana-container --restart=always -v /var/lib/grafana:/var/lib/grafana grafana/grafana&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;windows&#34;&gt;Windows&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed on Windows, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to a file named &lt;code&gt;&amp;lt;grafana_install_dir&amp;gt;/conf/custom.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;/grafana/download&#34;&gt;Download&lt;/a&gt; the Windows binary package.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Extract the contents of the package to the location in which you installed Grafana.&lt;/p&gt;
&lt;p&gt;You can overwrite existing files and folders, when prompted.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;mac&#34;&gt;Mac&lt;/h3&gt;
&lt;p&gt;To upgrade Grafana installed on Mac, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your current installation of Grafana, save your custom configuration changes to the custom configuration file, &lt;code&gt;custom.ini&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enables you to upgrade Grafana without the risk of losing your configuration changes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;/grafana/download&#34;&gt;Download&lt;/a&gt; the Mac binary package.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Extract the contents of the package to the location in which you installed Grafana.&lt;/p&gt;
&lt;p&gt;You can overwrite existing files and folders, when prompted.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;update-grafana-plugins&#34;&gt;Update Grafana plugins&lt;/h2&gt;
&lt;p&gt;After you upgrade Grafana, we recommend that you update all plugins because a new version of Grafana
can make older plugins stop working properly.&lt;/p&gt;
&lt;p&gt;Run the following command to update plugins:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;grafana cli plugins update-all&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;

        
&lt;h2 id=&#34;technical-notes&#34;&gt;Technical notes&lt;/h2&gt;
]]></content><description>&lt;h1 id="upgrade-to-grafana-v110">Upgrade to Grafana v11.0&lt;/h1>
&lt;div data-shared="upgrade/intro.md">
&lt;p>We recommend that you upgrade Grafana often to stay current with the latest fixes and enhancements.
Because Grafana upgrades are backward compatible, the upgrade process is straightforward, and dashboards and graphs will not change.&lt;/p></description></item></channel></rss>