Hello everyone! I am on
Grafana version: {'commit': 'afb9e8e5f3', 'database': 'ok', 'version': '8.3.2'}
OS: CentOS 7
and I am trying to backup my dashboards using Grafana Backup Tool (grafana-backup · PyPI) to AWS s3 and it is failing with the message:
query dashboard uri: http://grafana.staged-by-discourse.com/api/dashboards/db/lxc
[DEBUG] status: 404
[DEBUG] body: {'message': 'Not found'}
however if I am querying same dashboard when using uid everything is OK:
curl http://grafana.staged-by-discourse.com/api/dashboards/uid/3FSaVZriz
{
"meta": {
"type": "db",
"canSave": true,
"canEdit": true,
"canAdmin": true,
"canStar": true,
"slug": "lxc",
"url": "/d/3FSaVZriz/lxc",
"expires": "0001-01-01T00:00:00Z",
"created": "2021-12-13T12:40:33Z",
"updated": "2021-12-13T12:48:20Z",
"updatedBy": "admin",
"createdBy": "admin",
"version": 4,
"hasAcl": false,
"isFolder": false,
"folderId": 0,
"folderUid": "",
"folderTitle": "General",
"folderUrl": "",
"provisioned": false,
"provisionedExternalId": ""
...
...
...
I know this tool is not maintained by grafana, but I was hoping someone could explain more about API and why I could have these issues, since every other component (User, datasources, orgs) are found when curling with no problems:
curl http://grafana.staged-by-discourse.com/api/orgs | jq
[
{
"id": 1,
"name": "Testorgname"
}
]
Previously backup was working great and if I remember correctly there used to be no uid for dashboards, but correct me if I am wrong
Any help is appreciated!