{"id":3482,"date":"2025-08-04T12:05:00","date_gmt":"2025-08-04T12:05:00","guid":{"rendered":"https:\/\/kedar.nitty-witty.com\/blog\/?p=3482"},"modified":"2025-08-04T12:17:00","modified_gmt":"2025-08-04T12:17:00","slug":"how-to-migrate-pmm-grafana-users","status":"publish","type":"post","link":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-migrate-pmm-grafana-users","title":{"rendered":"How to migrate PMM (Grafana) users"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">You&#8217;ve got a shiny new Percona Monitoring &amp; Management instance standing by and want to move existing users over. This blog is a quick work around for migrating PMM users to another PMM (Grafana) instance &#8220;manually&#8221;.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Note: <em>This blog is only about user migration trick. A tool for exporting performance metrics and QAN data is <a href=\"https:\/\/docs.percona.com\/percona-monitoring-and-management\/3\/troubleshoot\/pmm_dump.html\" target=\"_blank\" rel=\"noopener nofollow\" title=\"\">pmm_dump<\/a>. If you&#8217;re looking for a complete migration from PMM 2.x to 3.x, you have a guide <a href=\"https:\/\/docs.percona.com\/percona-monitoring-and-management\/3\/troubleshoot\/pmm_dump.html\" target=\"_blank\" rel=\"noopener nofollow\" title=\"\">here<\/a>.<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">PMM User Migration<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The requirement here was to migrate only PMM users to a new environment but not the data or queries.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">All PMM users are actually Grafana users under the hood, stored in a Postgres DB (by default). So it is possible to get those credentials and move them to the new instance without doing much is what I think!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Verify what&#8217;s the Grafana&#8217;s backend database<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Inside PMM container\n&#91;root@1167d2c03dc2 ~] # grep type  \/etc\/grafana\/grafana.ini\n# You can configure the database connection by specifying type, host, name, user and password\ntype = postgres\n&#91;root@1167d2c03dc2 ~] #<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Connect to database and review users<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>psql -h localhost -p 5432 -U grafana -d grafana\n\nSELECT\n  ou.id AS org_user_id,\n  ou.org_id,\n  ou.role,\n  u.id AS user_id,\n  u.login,\n  u.email,\n  u.name,\n  u.is_admin,\n  u.salt,\n  u.password\nFROM\n  org_user ou\nJOIN\n  \"user\" u ON ou.user_id = u.id\nORDER BY ou.id;<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>grafana=> SELECT ou.id AS org_user_id, ou.org_id, ou.role, u.id AS user_id, u.login, u.email, u.name, u.is_admin,u.salt, u.password FROM org_user ou JOIN \"user\" u ON ou.user_id = u.id ORDER BY ou.id;\n org_user_id | org_id |  role  | user_id | login |      email      | name  | is_admin |    salt    |                                               p\nassword\n-------------+--------+--------+---------+-------+-----------------+-------+----------+------------+------------------------------------------------\n------------------------------------------------------\n           1 |      1 | Admin  |       1 | <strong>admin | admin@localhost <\/strong>|       | t        | k4XvdKrvBv | <strong>ba4af563a729c06fc95b1c921a598b6de2<\/strong>\n           2 |      1 | Viewer |       2 | <strong>kedar | kedar<\/strong>           | kedar | f        | k4XvdKrvBv | 5b1c921a598b6de2c55d906e900db04c82f<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">One may think that we can copy username and password hash but it is not that simple. We also need to add a pinch of NaCl AKA Salt. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In password authentication, &#8220;salt&#8221; is a unique random string of characters added to a password before it&#8217;s hashed to provide additional security. Thus we have to make sure to copy the &#8220;salt&#8221; values.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Magic happens here<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>grafana=>  \\x auto\nExpanded display is used automatically.\ngrafana=> SELECT\n  'INSERT INTO \"user\" (id, version, email, name, login, password, salt, email_verified, theme, created, updated, is_admin, is_disabled, last_seen_at, org_id) VALUES (' ||\n  u.id || ', ' || u.version || ', ''' || REPLACE(u.email, '''', '''''') || ''', ''' || REPLACE(u.name, '''', '''''') || ''', ''' || REPLACE(u.login, '''', '''''') || ''', ''' || u.password || ''', ''' || u.salt || ''', ' || u.email_verified || ', ''' || u.theme || ''', ''' || u.created || ''', ''' || u.updated || ''', ' || u.is_admin || ', ' || u.is_disabled || ', ''' || u.last_seen_at || ''', ' || u.org_id || ');' AS insert_user_command,\n  CASE\n    WHEN ou.user_id IS NOT NULL THEN\n      'INSERT INTO org_user (id, org_id, user_id, role, created, updated) VALUES (' ||\n      ou.id || ', ' || ou.org_id || ', ' || ou.user_id || ', ''' || ou.role || ''', ''' || ou.created || ''', ''' || ou.updated || ''');'\n    ELSE\n      '-- User ' || u.login || ' has no org_user entry to migrate.'\n  END AS insert_org_user_command\nFROM \"user\" u\nLEFT JOIN org_user ou ON u.id = ou.user_id\nORDER BY u.id, ou.org_id;\n-&#91; RECORD 1 ]-----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\ninsert_user_command     | INSERT INTO \"user\" (id, version, email, name, login, password, salt, email_verified, theme, created, updated, is_admin, is_disabled, last_seen_at, org_id) VALUES (1, 0, 'admin@localhost', '', 'admin', '65c0a138b91f2793ec9b545352355a7b658dkedar.nitty-witty.com0a03b736918ba4af563a729c06fc9d906e900db04c82f', 'k4XvdKrvBv', false, '', '2025-01-01 11:14:30', '2025-07-30 08:16:29', true, false, '2025-07-30 08:38:40', 1);\ninsert_org_user_command | INSERT INTO org_user (id, org_id, user_id, role, created, updated) VALUES (1, 1, 1, 'Admin', '2025-01-01 11:14:30', '2025-01-01 11:14:30');\n-&#91; RECORD 2 ]-----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\ninsert_user_command     | INSERT INTO \"user\" (id, version, email, name, login, password, salt, email_verified, theme, created, updated, is_admin, is_disabled, last_seen_at, org_id) VALUES (2, 0, 'kedar', 'kedar', 'kedar', '2e2bc60603c77811b4fe141271bc49aecekedar.nitty-witty.comdb0b11d1f921a0f19c7777dae68ebeb2d2f8bce643911', 'lwcv2cuO70', false, '', '2025-07-30 08:18:53', '2025-07-30 08:18:53', false, false, '2025-07-30 08:28:24', 1);\ninsert_org_user_command | INSERT INTO org_user (id, org_id, user_id, role, created, updated) VALUES (2, 1, 2, 'Viewer', '2025-07-30 08:18:53', '2025-07-30 08:18:53');\n-&#91; RECORD 3 ]-----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\ninsert_user_command     | INSERT INTO \"user\" (id, version, email, name, login, password, salt, email_verified, theme, created, updated, is_admin, is_disabled, last_seen_at, org_id) VALUES (5, 0, 'aarya', 'aarya', 'aarya', '1a9ecc6b962db8028fe0a8ac1319208a1d29110c1017f2a79908f78a111fb86067c3b051ae3af9dde07a09cd49080c7c5d8b', 'N2nFw762t3', false, '', '2025-07-30 08:30:11', '2025-07-30 08:30:11', false, false, '2015-06-30 08:30:11', 1);\ninsert_org_user_command | INSERT INTO org_user (id, org_id, user_id, role, created, updated) VALUES (5, 1, 5, 'Viewer', '2025-07-30 08:30:11', '2025-07-30 08:30:11');\n-&#91; RECORD 4 ]-----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\ninsert_user_command     | INSERT INTO \"user\" (id, version, email, name, login, password, salt, email_verified, theme, created, updated, is_admin, is_disabled, last_seen_at, org_id) VALUES (6, 0, 'rudra', 'rudra', 'rudra', '99752b5c4ca5b20a049d193551d566105f5ekedar.nitty-witty.com2491ff058f1e8b808d8bd9a555687655118c0081ba7', 'nLOfMsnE4m', false, '', '2025-07-30 08:30:29', '2025-07-30 08:30:29', false, false, '2015-06-30 08:30:29', 1);\ninsert_org_user_command | INSERT INTO org_user (id, org_id, user_id, role, created, updated) VALUES (6, 1, 6, 'Viewer', '2025-07-30 08:30:29', '2025-07-30 08:30:29');<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">I believe you&#8217;ve understood the next step! Connect to the target PMM, execute these insert statements and you&#8217;re done.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hope someone somewhere finds this post helpful.<\/p>\n","protected":false},"excerpt":{"rendered":"You&#8217;ve got a shiny new Percona Monitoring &amp; Management instance standing by and want to move existing users over. This blog is a quick work around for migrating PMM users&hellip;\n","protected":false},"author":1,"featured_media":3483,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[8,1089],"tags":[1109,1112,427,1108,1111,1110],"class_list":["post-3482","post","type-post","status-publish","format-standard","has-post-thumbnail","category-mysql","category-percona-monitoring-and-management","tag-grafana-user-migration","tag-grafana-users","tag-mysql","tag-pmm-migration","tag-pmm-user-migration","tag-user-migration"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"A guide to migrate PMM users using quick and practical steps easily by exporting Grafana\u2019s Postgres user data and importing to a new instance.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Kedar\"\/>\n\t<meta name=\"google-site-verification\" content=\"_Bu1h5r0PxIC0D2jBVdmYN45RTeG9ogcX85XLkbG1qA\" \/>\n\t<meta name=\"msvalidate.01\" content=\"116B62074CBCA1BA99B8CCE09CCF2FB8\" \/>\n\t<meta name=\"keywords\" content=\"grafana user migration,grafana users,mysql,pmm migration,pmm user migration,user migration\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/kedar.nitty-witty.com\/blog\/how-to-migrate-pmm-grafana-users\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Change Is Inevitable | Kedar Vaijanapurkar&#039;s Blog for MySQL, technology and various subjects\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to migrate PMM (Grafana) users | Change Is Inevitable\" \/>\n\t\t<meta property=\"og:description\" content=\"A guide to migrate PMM users using quick and practical steps easily by exporting Grafana\u2019s Postgres user data\u2026\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/kedar.nitty-witty.com\/blog\/how-to-migrate-pmm-grafana-users\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/kedar.nitty-witty.com\/blog\/wp-content\/uploads\/2025\/08\/pmm-2-pmm-png.avif\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/kedar.nitty-witty.com\/blog\/wp-content\/uploads\/2025\/08\/pmm-2-pmm-png.avif\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1536\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2025-08-04T12:05:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2025-08-04T12:17:00+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to migrate PMM (Grafana) users | Change Is Inevitable\" \/>\n\t\t<meta name=\"twitter:description\" content=\"A guide to migrate PMM users using quick and practical steps easily by exporting Grafana\u2019s Postgres user\u2026\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/kedar.nitty-witty.com\/blog\/wp-content\/uploads\/2025\/08\/pmm-2-pmm-png.avif\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-migrate-pmm-grafana-users#article\",\"name\":\"How to migrate PMM (Grafana) users | Change Is Inevitable\",\"headline\":\"How to migrate PMM (Grafana) users\",\"author\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/pmm-2-pmm-png.avif\",\"width\":1536,\"height\":1024,\"caption\":\"pmm-to-pmm-migration\"},\"datePublished\":\"2025-08-04T12:05:00+00:00\",\"dateModified\":\"2025-08-04T12:17:00+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-migrate-pmm-grafana-users#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-migrate-pmm-grafana-users#webpage\"},\"articleSection\":\"MySQL, Percona Monitoring and Management, grafana user migration, grafana users, MySQL, PMM migration, PMM user migration, user migration\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-migrate-pmm-grafana-users#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql#listItem\",\"name\":\"MySQL\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql#listItem\",\"position\":2,\"name\":\"MySQL\",\"item\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql\\\/percona-monitoring-and-management#listItem\",\"name\":\"Percona Monitoring and Management\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql\\\/percona-monitoring-and-management#listItem\",\"position\":3,\"name\":\"Percona Monitoring and Management\",\"item\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql\\\/percona-monitoring-and-management\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-migrate-pmm-grafana-users#listItem\",\"name\":\"How to migrate PMM (Grafana) users\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql#listItem\",\"name\":\"MySQL\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-migrate-pmm-grafana-users#listItem\",\"position\":4,\"name\":\"How to migrate PMM (Grafana) users\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql\\\/percona-monitoring-and-management#listItem\",\"name\":\"Percona Monitoring and Management\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#person\",\"name\":\"Kedar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-migrate-pmm-grafana-users#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Kedar\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin#author\",\"url\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin\",\"name\":\"Kedar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-migrate-pmm-grafana-users#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Kedar\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-migrate-pmm-grafana-users#webpage\",\"url\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-migrate-pmm-grafana-users\",\"name\":\"How to migrate PMM (Grafana) users | Change Is Inevitable\",\"description\":\"A guide to migrate PMM users using quick and practical steps easily by exporting Grafana\\u2019s Postgres user data and importing to a new instance.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-migrate-pmm-grafana-users#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/pmm-2-pmm-png.avif\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-migrate-pmm-grafana-users\\\/#mainImage\",\"width\":1536,\"height\":1024,\"caption\":\"pmm-to-pmm-migration\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-migrate-pmm-grafana-users#mainImage\"},\"datePublished\":\"2025-08-04T12:05:00+00:00\",\"dateModified\":\"2025-08-04T12:17:00+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/\",\"name\":\"..::CHANGE is INEVITABLE::..\",\"description\":\"Kedar Vaijanapurkar's Blog for MySQL, technology and various subjects\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to migrate PMM (Grafana) users | Change Is Inevitable","description":"A guide to migrate PMM users using quick and practical steps easily by exporting Grafana\u2019s Postgres user data and importing to a new instance.","canonical_url":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-migrate-pmm-grafana-users","robots":"max-image-preview:large","keywords":"grafana user migration,grafana users,mysql,pmm migration,pmm user migration,user migration","webmasterTools":{"google-site-verification":"_Bu1h5r0PxIC0D2jBVdmYN45RTeG9ogcX85XLkbG1qA","msvalidate.01":"116B62074CBCA1BA99B8CCE09CCF2FB8","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-migrate-pmm-grafana-users#article","name":"How to migrate PMM (Grafana) users | Change Is Inevitable","headline":"How to migrate PMM (Grafana) users","author":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin#author"},"publisher":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/kedar.nitty-witty.com\/blog\/wp-content\/uploads\/2025\/08\/pmm-2-pmm-png.avif","width":1536,"height":1024,"caption":"pmm-to-pmm-migration"},"datePublished":"2025-08-04T12:05:00+00:00","dateModified":"2025-08-04T12:17:00+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-migrate-pmm-grafana-users#webpage"},"isPartOf":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-migrate-pmm-grafana-users#webpage"},"articleSection":"MySQL, Percona Monitoring and Management, grafana user migration, grafana users, MySQL, PMM migration, PMM user migration, user migration"},{"@type":"BreadcrumbList","@id":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-migrate-pmm-grafana-users#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/kedar.nitty-witty.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql#listItem","name":"MySQL"}},{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql#listItem","position":2,"name":"MySQL","item":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql","nextItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\/percona-monitoring-and-management#listItem","name":"Percona Monitoring and Management"},"previousItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\/percona-monitoring-and-management#listItem","position":3,"name":"Percona Monitoring and Management","item":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\/percona-monitoring-and-management","nextItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-migrate-pmm-grafana-users#listItem","name":"How to migrate PMM (Grafana) users"},"previousItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql#listItem","name":"MySQL"}},{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-migrate-pmm-grafana-users#listItem","position":4,"name":"How to migrate PMM (Grafana) users","previousItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\/percona-monitoring-and-management#listItem","name":"Percona Monitoring and Management"}}]},{"@type":"Person","@id":"https:\/\/kedar.nitty-witty.com\/blog\/#person","name":"Kedar","image":{"@type":"ImageObject","@id":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-migrate-pmm-grafana-users#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g","width":96,"height":96,"caption":"Kedar"}},{"@type":"Person","@id":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin#author","url":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin","name":"Kedar","image":{"@type":"ImageObject","@id":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-migrate-pmm-grafana-users#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g","width":96,"height":96,"caption":"Kedar"}},{"@type":"WebPage","@id":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-migrate-pmm-grafana-users#webpage","url":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-migrate-pmm-grafana-users","name":"How to migrate PMM (Grafana) users | Change Is Inevitable","description":"A guide to migrate PMM users using quick and practical steps easily by exporting Grafana\u2019s Postgres user data and importing to a new instance.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-migrate-pmm-grafana-users#breadcrumblist"},"author":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin#author"},"creator":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin#author"},"image":{"@type":"ImageObject","url":"https:\/\/kedar.nitty-witty.com\/blog\/wp-content\/uploads\/2025\/08\/pmm-2-pmm-png.avif","@id":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-migrate-pmm-grafana-users\/#mainImage","width":1536,"height":1024,"caption":"pmm-to-pmm-migration"},"primaryImageOfPage":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-migrate-pmm-grafana-users#mainImage"},"datePublished":"2025-08-04T12:05:00+00:00","dateModified":"2025-08-04T12:17:00+00:00"},{"@type":"WebSite","@id":"https:\/\/kedar.nitty-witty.com\/blog\/#website","url":"https:\/\/kedar.nitty-witty.com\/blog\/","name":"..::CHANGE is INEVITABLE::..","description":"Kedar Vaijanapurkar's Blog for MySQL, technology and various subjects","inLanguage":"en-US","publisher":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/#person"}}]},"og:locale":"en_US","og:site_name":"Change Is Inevitable | Kedar Vaijanapurkar's Blog for MySQL, technology and various subjects","og:type":"article","og:title":"How to migrate PMM (Grafana) users | Change Is Inevitable","og:description":"A guide to migrate PMM users using quick and practical steps easily by exporting Grafana\u2019s Postgres user data\u2026","og:url":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-migrate-pmm-grafana-users","og:image":"https:\/\/kedar.nitty-witty.com\/blog\/wp-content\/uploads\/2025\/08\/pmm-2-pmm-png.avif","og:image:secure_url":"https:\/\/kedar.nitty-witty.com\/blog\/wp-content\/uploads\/2025\/08\/pmm-2-pmm-png.avif","og:image:width":"1536","og:image:height":"1024","article:published_time":"2025-08-04T12:05:00+00:00","article:modified_time":"2025-08-04T12:17:00+00:00","twitter:card":"summary","twitter:title":"How to migrate PMM (Grafana) users | Change Is Inevitable","twitter:description":"A guide to migrate PMM users using quick and practical steps easily by exporting Grafana\u2019s Postgres user\u2026","twitter:image":"https:\/\/kedar.nitty-witty.com\/blog\/wp-content\/uploads\/2025\/08\/pmm-2-pmm-png.avif"},"aioseo_meta_data":{"post_id":"3482","title":null,"description":"A guide to migrate PMM users using quick and practical steps easily by exporting Grafana\u2019s Postgres user data and importing to a new instance.","keywords":null,"keyphrases":{"focus":{"keyphrase":"PMM","score":100,"analysis":{"keyphraseInTitle":{"score":9,"maxScore":9,"error":0},"keyphraseInDescription":{"score":9,"maxScore":9,"error":0},"keyphraseLength":{"score":9,"maxScore":9,"error":0,"length":1},"keyphraseInURL":{"score":5,"maxScore":5,"error":0},"keyphraseInIntroduction":{"score":9,"maxScore":9,"error":0},"keyphraseInSubHeadings":{"score":9,"maxScore":9,"error":0},"keyphraseInImageAlt":[],"keywordDensity":{"type":"best","score":9,"maxScore":9,"error":0}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":"How to migrate PMM (Grafana) users | Change Is Inevitable","og_description":"A guide to migrate PMM users using quick and practical steps easily by exporting Grafana\u2019s Postgres user data\u2026","og_object_type":"default","og_image_type":"featured","og_image_url":"http:\/\/kedar.nitty-witty.com\/blog\/wp-content\/uploads\/2025\/08\/pmm-2-pmm-png.avif","og_image_width":"1536","og_image_height":"1024","og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"featured","twitter_image_url":"http:\/\/kedar.nitty-witty.com\/blog\/wp-content\/uploads\/2025\/08\/pmm-2-pmm-png.avif","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":"How to migrate PMM (Grafana) users | Change Is Inevitable","twitter_description":"A guide to migrate PMM users using quick and practical steps easily by exporting Grafana\u2019s Postgres user\u2026","schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2025-08-02 15:56:55","updated":"2025-08-16 19:23:36","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/kedar.nitty-witty.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\" title=\"MySQL\">MySQL<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\/percona-monitoring-and-management\" title=\"Percona Monitoring and Management\">Percona Monitoring and Management<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to migrate PMM (Grafana) users\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/kedar.nitty-witty.com\/blog"},{"label":"MySQL","link":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql"},{"label":"Percona Monitoring and Management","link":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\/percona-monitoring-and-management"},{"label":"How to migrate PMM (Grafana) users","link":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-migrate-pmm-grafana-users"}],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/posts\/3482","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/comments?post=3482"}],"version-history":[{"count":2,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/posts\/3482\/revisions"}],"predecessor-version":[{"id":3485,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/posts\/3482\/revisions\/3485"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/media\/3483"}],"wp:attachment":[{"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/media?parent=3482"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/categories?post=3482"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/tags?post=3482"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}