Upgrading from Grafana 6 to Grafana 7

Get any of the courses at very special price. Offer is available only for limited time, so enroll quickly.

Apache NiFi – Beginners to Advance Guide: https://itpanther.com/apachenifi
Apache NiFi – Admin Guide – Know Clustering and Other Advance Topics: https://itpanther.com/apachenifiadmin
Liferay – Create Your Website Without The Need to Code: https://itpanther.com/liferay
Grafana – Learn to do Analytics with Grafana: https://itpanther.com/grafana
Redis – Learn World’s Fastest Database: https://itpanther.com/redis
BMC Control-M for Beginners: https://itpanther.com/controlm

Install Latest version of Grafana RPM on top of existing version (6) , in order to Upgrade Grafana.

wget https://dl.grafana.com/oss/release/grafana-7.0.1-1.x86_64.rpm
sudo yum install grafana-7.0.1-1.x86_64.rpm

Ensure to backup everything before proceeding with the Upgrade:

Backup the database. If you’re using SQLite Db then the Default Location would be as below:

[grafanaadmin@itpanther02 ~]$ ll /var/lib/grafana/
total 460
-rw-r--r--. 1 grafana grafana 471040 May 12 19:09 grafana.db

Backup the database. If you’re using MySQL Db then you can take the backup using below command, alternatively you can request your DBA team to do this for you.

Syntax: mysqldump -u <<username>> -h <<server hostname/ip>> -p<<password>> <<database name>> > <<output location>>
Example: mysqldump -u grafana -h localhost -pGrafana@2020 grafanadb > /home/grafanaadmin/grafana.sql

Get any of the courses at very special price. Offer is available only for limited time, so enroll quickly.

Apache NiFi – Beginners to Advance Guide: https://itpanther.com/apachenifi
Apache NiFi – Admin Guide – Know Clustering and Other Advance Topics: https://itpanther.com/apachenifiadmin
Liferay – Create Your Website Without The Need to Code: https://itpanther.com/liferay
Grafana – Learn to do Analytics with Grafana: https://itpanther.com/grafana
Redis – Learn World’s Fastest Database: https://itpanther.com/redis
BMC Control-M for Beginners: https://itpanther.com/controlm

Leave a Comment

You have successfully subscribed to the newsletter

There was an error while trying to send your request. Please try again.

IT Panther will use the information you provide on this form to be in touch with you and to provide updates and marketing.
%d bloggers like this: