m110 / grafcli

Grafana CLI for quick and easy dashboards management.
MIT License
168 stars 20 forks source link

docs clarification for backup command #28

Open HG00 opened 2 years ago

HG00 commented 2 years ago

Hi all

In the help text, the "backup" command shows backup backup all dashboards from remote host

So it seems like to back up all dashboards, we can do something like grafcli backup remote/myremotegrafana /tmp/mydashboards.gz but when I run this, it fails, asking to choose a dashboard to back up.

When changing the path to remote/instance/0-foldername it works fine. Should backup actually back up all dashboards, or should the docs be updated to say "backup all dashboards in a folder from remote host"? Thanks,