You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to make a backup for my grafana and using docker-grafana-backup-tool:1.4.2 image for my grafana running in kubernetes rom helmchart 8.13.1 but I ma getting this error after 3 minutes of running through the follow error which looks like a code problem.
found 2 versions for dashboard 422 Errors
Traceback (most recent call last):
File "/usr/bin/grafana-backup", line 8, in <module>
sys.exit(main())
^^^^^^
File "/usr/lib/python3.11/site-packages/grafana_backup/cli.py", line 52, in main
save(args, settings)
File "/usr/lib/python3.11/site-packages/grafana_backup/save.py", line 74, in main
backup_functions[backup_function](args, settings)
File "/usr/lib/python3.11/site-packages/grafana_backup/save_dashboard_versions.py", line 24, in main
save_dashboard_versions(folder_path, log_file, grafana_url, http_get_headers, verify_ssl, client_cert, debug, pretty_print, uid_support)
File "/usr/lib/python3.11/site-packages/grafana_backup/save_dashboard_versions.py", line 38, in save_dashboard_versions
get_versions_and_save(dashboards, folder_path, log_file, grafana_url, http_get_headers, verify_ssl, client_cert, debug, pretty_print, uid_support)
File "/usr/lib/python3.11/site-packages/grafana_backup/save_dashboard_versions.py", line 52, in get_versions_and_save
get_individual_versions(content, board_folder_path, log_file, grafana_url, http_get_headers, verify_ssl, client_cert, debug, pretty_print)
File "/usr/lib/python3.11/site-packages/grafana_backup/save_dashboard_versions.py", line 60, in get_individual_versions
(status, content) = get_version(version['dashboardId'], version['version'], grafana_url, http_get_headers, verify_ssl, client_cert, debug)
~~~~~~~^^^^^^^^^^^^^^^
TypeError: string indices must be integers, not 'str'
The text was updated successfully, but these errors were encountered:
I am trying to make a backup for my grafana and using docker-grafana-backup-tool:1.4.2 image for my grafana running in kubernetes rom helmchart 8.13.1 but I ma getting this error after 3 minutes of running through the follow error which looks like a code problem.
The text was updated successfully, but these errors were encountered: