grafana-tools / grafana-backup

[ON HOLD] CLI tool for backup/restore Grafana dashboards and datasources.
GNU General Public License v3.0
28 stars 3 forks source link

Restore data sources #9

Closed omadawn closed 6 years ago

omadawn commented 6 years ago

Added a filter so that we don't try and import data sources as dashboards (based entirely on filename)

Working restoration of datasource types. Similar filter based on file name.

Nothing for users yet.

I am not 100% thrilled with the way I've implemented some of the functionality so I'm not really expecting this PR to be accepted as is but looking for input on it.

fixes issue #5

omadawn commented 6 years ago

PR Updated

omadawn commented 6 years ago

Of course now it's not restoring so I'll have to figure out what I broke and re-submit.

grafov commented 6 years ago

See the fixes in #11.