Aaron Johnson
Aaron Johnson
Not sure how I missed that; yes that works. Is there a way to save it as a persistent setting without requiring you to manually enable sleep each time?
Thanks for the response @ashthespy that systemd job wouldn't do anything remotely like what I am asking for but that's ok.
@ysde Isn't administrative rights required for backups to work? Also it's noted in the README. @xmj have you tested this change using a non-administrative key?
@xmj It looks like `datasources` cannot be backed up or restored using a non-administrative key/token
@ysde Ok I wouldn't recommend merging since it will cause an inconsistent experience
> Admin rights are not required to back up dashboards, which was my usecase. > > Maybe verify against `/org`, and require additional rights (verify against `/keys` perhaps?) for datasource...
Currently this tool only backs up dashboards saved under the default org `orgId=1`. PRs welcome I don't think it would be that much to parameterize a few functions to add...
That is very unfortunate hopefully you will find another way to recover them... hopefully this feature will get added in the mean time a doc update would be appropriate I...
Also we can leave this issue open until the issue is fully resolved as this is a community project it is a good thing to be made aware of for...
https://github.com/ysde/grafana-backup-tool/blob/master/README.md?plain=1#L27