[Bug]: Nested Folders not supported?
Closed this issue · 1 comments
PatMis16 commented
Grizzly Version
No response
Expected Behavior
We use nested folders on our Grafana Enterprise instance. We would like to use grizzly to migrate to our Grafana Cloud stack.
We exported various ressources from our Grafana Enterprise instance with the follwing grizzly command:
grr pull . \
-t 'Dashboard/*' \
-t 'Datasource/*' \
-t 'DashboardFolder/*' \
-t 'LibraryElement/*' \
-t 'AlertRuleGroup/*' \
-t 'AlertContactPoint/*' \
-t 'AlertNotificationPolicy/*'
We expect, that all folders are exported.
Actual Behavior
Only the "top-level" folder is exported by grizzly:
~/grafana/grafana-cloud-migration/grizzly/folders$ ls -asl
total 12
4 drwxr-xr-x 2 <redacted> <redacted> 4096 Oct 17 09:29 .
4 drwxr-xr-x 7 <redacted> <redacted> 4096 Oct 17 10:17 ..
4 -rw-r--r-- 1 <redacted> <redacted> 555 Oct 17 09:29 folder-ae0cih081ju2oa.json
All folders folders nested under this "top-level" folder are not exported.
Steps to Reproduce
- Create a nested folder structure in Grafana Enterprise
- Export the ressources with grizzly:
grr pull . \
-t 'Dashboard/*' \
-t 'Datasource/*' \
-t 'DashboardFolder/*' \
-t 'LibraryElement/*' \
-t 'AlertRuleGroup/*' \
-t 'AlertContactPoint/*' \
-t 'AlertNotificationPolicy/*'
PatMis16 commented
Used an old version. It works with 0.4.8