Skip to content

IvanTheFirst/grafana_export_import

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grafana_export_import

Export, Import grafana configuration with datasources and passwords for them (except users in groups). Does not preserve IDs (UID are still exported/imported). creates new IDs in new grafana Can export from Postgresql and import to Mysql/Mariadb and vice versa.

using

for export:

python.exe .\main.py --api_key <> --export_srv <> --dir '

' --db_server : --db_user --db_password <> --db_name <> --db_type <M or P, M for mysql/mariadb, P for postgresql>

for import:

python.exe .\main.py --api_key <> --import_srv <> --dir --set_default_datasource '<default datasource name, which is null in dashboards>' --db_server : --db_user <> --db_password <> --db_name <> --db_type <M or P, M for mysql/mariadb, P for postgresql>

About

Export, Import whole grafana configuration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages