Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

titleBackUp Databse

Take a backup of our PostgreSQL database using below steps

navigate to <postgres-path>/bin

Upgrade Grafana

...

  • Stop the previous version of Grafana service running on the instance and change the start type as Manual

  • Follow the below steps to backup existing database

    • Navigate to <postgres_installation_path>/bin

    • Backup DB using by executing the command pg_dump --username=username --password=password grafana > grafana_backup

  • Download Garfana 7 and Run it as Service

Dashboard Migration

...

  • Export Dashboards as json file from the previous Grafana version

  • change the following fields inside targets array of export json file

    • target” to “queryText

    • rawQuery” to “table

    • “hide”: true to “hide”: false

Code Block
      "targets": [
        {
          "checkQuery": false,
          "hide": false,
          "table": true,
          "refId": "A",
          "queryText": "<query>"
        }
      ],